当前位置: 首页>>代码示例>>PHP>>正文


PHP verificaBlFerramentas函数代码示例

本文整理汇总了PHP中verificaBlFerramentas函数的典型用法代码示例。如果您正苦于以下问题:PHP verificaBlFerramentas函数的具体用法?PHP verificaBlFerramentas怎么用?PHP verificaBlFerramentas使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了verificaBlFerramentas函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: dirname

<?php

include_once dirname(__FILE__) . "/../../classesphp/sani_request.php";
$_GET = array_merge($_GET, $_POST);
$mapexten = $_GET["mapexten"];
error_reporting(0);
session_name("i3GeoPHP");
if (isset($_GET["g_sid"])) {
    session_id($_GET["g_sid"]);
}
session_start();
$map_file = $_SESSION["map_file"];
$postgis_mapa = $_SESSION["postgis_mapa"];
require_once dirname(__FILE__) . "/../../ms_configura.php";
include dirname(__FILE__) . "/../blacklist.php";
verificaBlFerramentas(basename(dirname(__FILE__)), $i3geoBlFerramentas, false);
//
//se as extens&otilde;es j&aacute; estiverem carregadas no PHP, vc pode comentar essa linha para que o processamento fique mais r&aacute;pido
//
include_once dirname(__FILE__) . "/../../classesphp/carrega_ext.php";
//
//carrega o phpmapscript
//
$exts = get_loaded_extensions();
if (array_search("MapScript", $exts) != TRUE) {
    if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) {
        if (!@dl('php_mapscript_48.dll')) {
            dl('php_mapscript.dll');
        }
    } else {
        dl('php_mapscript.so');
开发者ID:edmarmoretti,项目名称:i3geo,代码行数:31,代码来源:geraimagens.php

示例2: dirname

<?php

include dirname(__FILE__) . "/../blacklist.php";
verificaBlFerramentas(basename(dirname(__FILE__)));
/**
 * Esse script e utilizado por i3GEO.pluginI3geo
 * Carrega os programas javascript necessarios para a ferramenta
 * Esse programa e usado na tag <script> ou com a funcao scripttag do i3Geo
 * Alem de carregar os scripts, carrega tambem o template no formato MUSTACHE, definindo a variavel
 * javascript i3GEOF.parametrossql.MUSTACHE
 * O template e substituido pelos valores definidos em index.js no momento da inicializacao da ferramenta
 */
if (extension_loaded('zlib')) {
    ob_start('ob_gzhandler');
}
header("Content-type: text/javascript");
include "index.js";
include "dicionario.js";
echo "\n";
/**
 * Inclui o template mustache do HTML usado para criar o conteudo da janela
 */
echo 'i3GEOF.parametrossql.MUSTACHE = "';
$texto = file_get_contents("template_mst.html");
$texto = str_replace("\n", "", $texto);
$texto = str_replace("\r", "", $texto);
$texto = str_replace("\t", "", $texto);
$texto = str_replace('"', "'", $texto);
echo $texto;
echo '";';
if (extension_loaded('zlib')) {
开发者ID:edmarmoretti,项目名称:i3geo,代码行数:31,代码来源:dependencias.php

示例3: dirname

<?php

include dirname(__FILE__) . "/../../classesphp/sani_request.php";
include dirname(__FILE__) . "/../blacklist.php";
verificaBlFerramentas(basename(dirname(__FILE__)), "", false);
if (!isset($_GET["fundo"])) {
    $fundo = "''";
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=no;">
<meta name="HandheldFriendly" content="yes" />
<meta name="MobileOptimized" content="width" />
<meta name="apple-mobile-web-app-capable" content="yes">
<script type="text/javascript" src="../../pacotes/openlayers/OpenLayers2131.js.php"></script>
<script type="text/javascript" src="../../pacotes/cpaint/cpaint2_compacto.inc.js"></script>
<link rel="stylesheet" href="../../mashups/openlayers_compacto.css" type="text/css" />
<script type="text/javascript" src="../../pacotes/yui290/build/yahoo/yahoo-min.js"></script>
<script type="text/javascript" src="../../pacotes/yui290/build/dom/dom-min.js"></script>
</head>
<body onload="inicia()">
<div id=openlayers style="width:500px;height:500px;"></div>
<script>
/*
Title: Interface OpenLayers para a ferramenta tela remota

Clone de um mapa aberto no i3Geo.
开发者ID:edmarmoretti,项目名称:i3geo,代码行数:30,代码来源:openlayers1.php


注:本文中的verificaBlFerramentas函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。