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 == "")
&
Ïà¹ØÎĵµ£º
Blogϵͳ×÷Ϊ´ó¼Ò×î³£½Ó´¥µÄ»¥ÁªÍø¶«¶«£¬ÔÚÕ¾³¤ÈºÌåÖм¸ºõÈËÊÖÒ»²©£¬´ÓÖªÃûÃÅ»§µÄ²©¿ÍƵµÀ£¬µ½ÍøÂçÓªÏúר¼Ò²©¿Í£¬ÍøÃñ¶Ô²©¿ÍµÄ¹Ø×¢¶ÈÔÚ²»¶ÏÌá¸ß²¢É¡£Ä¿Ç°ÍøÉÏÃâ·ÑµÄblogϵͳ̫ÔÓ£¬ÔÚ´ËÕûÀíPHP°æµÄBlog½éÉÜÈçÏ£º
1¡¢wordpress:http://www.wordpress.org ¹¦ÄÜÒ²ºÜÈ«Ã棬Ӧ¸ÃÊÇÖ§³ÖblogµÄÊ×Ñ¡¡£ËüÓÐ×îÇ¿µÄÄ£°æ¹¦ÄÜ£¬ÒѾ ......
Guoqzhang_PHP ¼òÒ×php framework Çë¶àÖ¸µã¡£
Guoqzhang_PHP V 1.0 µÄPHP¿ª·¢¿ò¼Ü£¬²ÉÓÃMVCÉè¼Æģʽ£¬ÔËÓÃSmartyÄ£°åÒýÇæÊõºÍMySQLÊý¾Ý¿â¼¼Êõ¿ª·¢¶ø³É¡£
Éè¼Æµ½¿ª·¢Íê³ÉºÄʱ20¸ö¹¤×÷ÈÕ×óÓÒ£¬Ê±¼ä¶Ì£¬¿ÉÄÜ´æÔÚһЩbug£¬Çë´ó¼ÒÖ¸Õý.×÷Õßmail£ºguoqzhang@gmail.com
url£ºhttp://download.csdn ......
phpÖÐsubstrµÄÓ÷¨Ïê½â
php.netÖйØÓÚsubstrµÄ˵Ã÷ºÜ¼òµ¥:
start
If start is non-negative, the returned string will start at the start 'th position in string , counting from zero. For instance, in the string 'abcdef', the character at position 0 is 'a', the character at position 2 is 'c', and so for ......
ÔÚÍøÕ¾Éè¼ÆÖÐÎÒÃǾ³£»áÓöµ½ÐèÒª¶àÓïÑÔÖ§³ÖµÄÇé¿ö¡£¶àÓïÑÔϵͳ°´ÕÕÖ§³ÖµÄ·½Ê½Ò»°ã¿É·ÖΪÁ½ÖÖ£º
1.Ö§³Ö¶àÓïÑÔ£¬µ«²»Ö§³Ö¶àÖÖÓïÑÔµÄͬʱ´æÔÚ£¬Ò²¾ÍÊÇ˵ҪôÊÇÖÐÎÄҪôÊÇÓ¢ÎÄ»òÕßÆäËû£¬ÕâÔÚһЩÐèÒª¹ú¼Ê»¯Ö§³ÖµÄÍøҳϵͳÖо³£ÓÃÀ´£¬ÒԱ㷽±ãÓû§±¾µØ»¯¡£ 2.Ö§³Ö¶àÓïÑÔ²¢¿Éͬʱä¯ÀÀ²»Í¬ÓïÑÔ°æ±¾µÄÍøÒ³¡£½ñÌìÎÒÏëÌÖ ......
±¾ÎÄת×Ô:http://www.msphome.cn/post/119/
×î½üÒòΪҪ¶ÔÒ»¸öÏîÄ¿½øÐÐÖع¹£¬ËùÒÔÒ»Ö±ÔÚÑо¿PHP¿ò¼Ü¡£´óÌå¿´ÁË¿´Zend Frameworks£¬×ÐϸѧϰÁËÏÂsymfony£¬·¢ÏÖÒ»¸öÁ¼ºÃµÄMVC Web¿ò¼Ü£¬×ãÒԸı俪·¢Ï°¹ß¡£µ«ÊÇÎÞÂÛÊÇZend Frameworks»¹ÊÇsymfony£¬¶ÔÓÚÖÐСÐÍÏîÄ¿µÄ¿ª·¢À´Ëµ¶¼¹ýÓÚÓ·Ö×£¬²¢²»ÄܺܺõÄÌáÉý¿ª· ......