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

phpµÄÊý¾Ý²Ù×÷ui

 <?php
 
error_reporting(0);//7all,0no
ini_set('display_errors', '0');
function myerror($errno, $errstr, $errfile, $errline)
{
    echo "<BR>error type: [$errno] $errstr<br />\n";
    echo "in line $errline of file $errfile<BR>";
}
set_error_handler("myerror");
include("config.php");
    $link = mysql_connect($dbhost,$dbuser,$dbpass)
        or die("Could not connect : " . mysql_error());
    mysql_select_db($dbname) or die("Could not select database");
   
?>
<html>
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
//Ôö¼ÓÈËÃû insert into `address2` (`sname`) values('ÈËÃû')
//ÐÞ¸Ä update `address2` set `sname`='ÈËÃû' where id='23'
//²éѯËùÓеıíÃû SHOW   TABLES   from    u656b1_db
<form action="" method="post">
<textarea name="how" style="width:100%; height:100px;" onkeypress="if(event.keyCode == 10)submit.click();">
<?PHP
if (isset($_REQUEST["how"]))
{
   echo $_REQUEST["how"];
}
?>
</textarea><br>
<input name=ip value="<?PHP
if (isset($_REQUEST["ip"]))
{
   echo $_REQUEST["ip"];
}
?>">
<input type="submit" id="submit" value="Ìá½»">
</form>
<?php
function runsql()
{   
       if ($_POST["ip"] != "password")
       {
         echo 'ÃÜÂë²»ÕýÈ·.';
         return(0);   
       }
      
       $sql = $_POST["how"];
      
       if ( $sql == "")
   &


Ïà¹ØÎĵµ£º

ubuntu Ï ´î½¨ apache+php+mysql


#apt-get install apache2
//°²×°apahce2
#apt-get install php5
//°²×°php5
#apt-get install mysql-server
//°²×°mysql·þÎñ¶Ë
#apt-get install  mysql-myclient
//°²×°mysqlµÄ¿Í»§¶Ë
#apt-get install php-mysql
//°²×°php-mysqlµÄÁ¬½á
apache+php+mysql »·¾³ÒѾ­´î½¨ºÃÁË
½«ÒÔϵķþÎñÖØÆôÒ»ÏÂ
#/et ......

WinXP IIS 5.1 PHP 5.3 VC9.0 ÅäÖÃÏê½â

IISÉϰ²×°PHP5.3µÄÍêÕû½Ì³Ì·½·¨(¼°5.3.0ÒÔºó°æ±¾µÄ·½·¨)
ÓÉÓÚPHP5.3µÄÈ«ÐÂÌØÐ§¼°¸Ä½ø£¬Ô­ÓеÄisapi·½Ê½½âÎöPHP
½Å±¾ÒѾ­²»±»Ö§³Ö£¬PHP´Ó5.3
.0ÒÔºóµÄ°æ±¾¿ªÊ¼Ê¹ÓÃ΢ÈíµÄfastcgiģʽ£¬ÕâÊÇÒ»¸ö¸üÏȽøµÄ·½Ê½£¬ÔËÐÐËٶȸü¿ì£¬¸üÎȶ¨£¡
а汾
µÄPHP5.3ͨ¹ýÒÔÍùÀÏ·½·¨ÒѾ­²»ÄÜÔÚIISÉϰ²×°ÁË£¬ÏÖÔÚ¸ø³öÔÚIISÉϰ²×°PHP5.3ÒÔº ......

phpÏÔʾ·þÎñÆ÷ʱ¼ä´úÂë

<div id="time" align="center">time </div> 
<script language="javascript">
function time1()
{
var now,n,y,r,h,m,s;
now=new Date();
n = now.getYear();
y = now.getMonth()+1;
r = now.getDate();
h = now.getHours();
m =now.getMinutes();
s = now.getSeconds();
......

PHP¶àÓïÑÔϵͳµÄÒ»ÖÖʵÏÖ·½Ê½[ת]


ÔÚÍøÕ¾Éè¼ÆÖÐÎÒÃǾ­³£»áÓöµ½ÐèÒª¶àÓïÑÔÖ§³ÖµÄÇé¿ö¡£¶àÓïÑÔϵͳ°´ÕÕÖ§³ÖµÄ·½Ê½Ò»°ã¿É·ÖΪÁ½ÖÖ£º
1.Ö§³Ö¶àÓïÑÔ£¬µ«²»Ö§³Ö¶àÖÖÓïÑÔµÄͬʱ´æÔÚ£¬Ò²¾ÍÊÇ˵ҪôÊÇÖÐÎÄҪôÊÇÓ¢ÎÄ»òÕ߯äËû£¬ÕâÔÚһЩÐèÒª¹ú¼Ê»¯Ö§³ÖµÄÍøÒ³ÏµÍ³Öо­³£ÓÃÀ´£¬ÒԱ㷽±ãÓû§±¾µØ»¯¡£ 2.Ö§³Ö¶àÓïÑÔ²¢¿Éͬʱä¯ÀÀ²»Í¬ÓïÑÔ°æ±¾µÄÍøÒ³¡£½ñÌìÎÒÏëÌÖ ......

php interface implements multibus

<?php
/*
 * Created on 2009-10-28
 * ·Ö×ÓÈçÃÎo(╯¡õ╰)o
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 interface pusb{
    function verson();
    ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ