Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

phpº¯ÊýÎÊÌâ - PHP / »ù´¡±à³Ì

ÎÒ½ñÌìÔÚ¿´Ò»±¾phpºÍMySql·¶Àý¾«½²µÄÊé ÀïÃæÓÐÒ»¶Î´úÂëûÓп´¶®.ÎÒ¿´µÄÊÇÒ»¸ö×¢²áϵͳµÄ´úÂëÆäÖеÄÒ»¸öÎļþµÄÄÚÈÝÈçÏÂ:
<?php
// set true if production environment else false for development
define ('IS_ENV_PRODUCTION', true);
// configure error reporting options
error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', !IS_ENV_PRODUCTION);//
ini_set('error_log', 'log/phperror.txt');//ÉèÖôíÎóÈÕÖ¾µÄ´í·ÅλÖÃ
// set time zone to use date/time functions without warnings
date_default_timezone_set('America/New_York');//ÉèÖÃÊ±Çø
// compensate for magic quotes if necessary
if (get_magic_quotes_gpc())
{
  function _stripslashes_rcurs($variable, $top = true)
  {
  $clean_data = array();
  foreach ($variable as $key => $value)
  {
  $key = ($top) ? $key : stripslashes($key);
  $clean_data[$key] = (is_array($value)) ?
  stripslashes_rcurs($value, false) : stripslashes($value);
  }
  return $clean_data;
  }
  $_GET = _stripslashes_rcurs($_GET);
  $_POST = _stripslashes_rcurs($_POST);
  // $_REQUEST = _stripslashes_rcurs($_REQUEST);
  // $_COOKIE = _stripslashes_rcurs($_COOKIE);
}
?>
ÕâÊÇÒ»¸ö¹«¹²ÎļþµÄ´úÂë,ÆäËûµÄËùÓеÄÎļþ¶¼°üº¬ÁËÕâ¸öÎļþ.ÀïÃæÓлù´¡²»¶®µÄµØ·½:



Ïà¹ØÎÊ´ð£º

php »ñÈ¡Ò³ÃæÄÚÈÝ - PHP / »ù´¡±à³Ì

Ôڲɼ¯Ò»¸öÒ³ÃæµÄʱºòͨ³£¶¼ÊÇʹÓÃfile_get_contents($url)
²»¹ý·µ»ØµÄ½á¹ûÓÐʱºò»á²»È«
Èç¹ûÔÚhtmlÖÐʹÓà document.ready,ÔÚÒ³Ãæ×¼±¸ºÃºó£¬Ê¹ÓÃajax¶ÁÈ¡±ðÒ»²¿·ÖµÄÊý¾Ý
ÔÙͨ¹ýÐÞ¸Ähtml±êÇ©µÄÄÚÈÝ£¬¾Í²¿·ÖµÄÊý¾Ý¾ ......

ÎÊÒ»¸öPHPºÍsmartyµÄÈÕÆÚÎÊÌâ - PHP / »ù´¡±à³Ì

index.phpÄÚÈÝ£º
  $smarty->assign('name',strtotime('-0'));
  $smarty->display("index.html");
index.htmlÄÚÈÝ£º
{$name|date_format:'%Y-%m-%d'}<hr>
{$ ......

phpÍøÕ¾·¢²¼ÎÊÌ⣡ - PHP / »ù´¡±à³Ì

²ËÄñÇó¾È£¡£¡
  ÏÖÔÚÎÒÊÖÍ·ÓÐÒ»¸öphp+oracleµÄÍøÕ¾¡£¡£·þÎñÆ÷ÊÇlinuxϵͳ
  
  Çë¸÷λ¸æËßÎÒÈçºÎ·¢²¼¡£¡£¡£ÎÒÊÇÐÂÊÖ¡£Ð»Ð»ÁË£¡£¡
°²×°Ò»¸öapache£¬°ÑphpÎļþ·Åµ½apacheµÄ·¢²¼Ä¿Â¼Ï£¬ ......

PHP submitÎÊÌ⣨¼±£¬ÔÚÏߵȣ© - PHP / »ù´¡±à³Ì

<?php
@session_start(); 
require_once './module/t_doctor.inc';
$t_doctor = new t_doctor();
if(isset($Submit)){
  $sql="select * from t_doctor WHERE docname='".$usernam ......

php´íÎó - PHP / »ù´¡±à³Ì

Fatal error: Call to undefined function language_attributes() in C:\xampp\htdocs\header.php on line 2
´íÎóÖÐ˵µÄ·½·¨Ã»Óж¨Òå ÊÇʲôԭÒò£¿
php¸ßÊÖÃÇÄܰï°ïÎÒÂð£¿
ÓпÉÄÜÄãËùÓõÄÒ»¸ö·½·¨»òÕßÊôÐÔÊÇÊôÓÚ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ