⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test_update.php

📁 Here is the DHTML tree example with full source code
💻 PHP
字号:
<?php

	$pm_charset = 'iso-8859-1';

	session_start();


// Ajax config code
if (!defined("PATH_SEPARATOR"))
  define("PATH_SEPARATOR", getenv("COMSPEC")? ";" : ":");
ini_set("include_path", ini_get("include_path").PATH_SEPARATOR.dirname(__FILE__));
// Ajax config code


// Declare Ajax lib
require_once 'ajax/JsHttpRequest.php';

// Create main library object
// Set page encoding. Important!
$JsHttpRequest =& new JsHttpRequest($pm_charset);
// Get query


$value = @$_POST['value'];

// Prepare result as a PHP array
$_RESULT = array(
	'status' => isset($error)?$error:'ok'
);

// Debug info
//if (strpos($client, 'error') !== false) {
//  callUndefinedFunction();
//}

//Response text
//echo "<b>REQUEST_URI:</b> ".$_SERVER['REQUEST_URI']."<br>";
//echo "<b>Loader used:</b> ".$JsHttpRequest->LOADER;
?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -