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

PHPÈçºÎʵÏÖ²¢·¢·ÃÎÊ - PHP / »ù´¡±à³Ì

index.html
//--------------------------------------------------------
<html><body><form action="test.php" method="POST">

  name: <input type="text" name="name" /><br />
  email: <input type="text" name="email" /><br />
  <input type="submit" value="Submit" />

</form></body></html>
//--------------------------------------------------------

test.php
//--------------------------------------------------------
<?php
$name = $_POST[name];
$email = $_POST[email];
$name2 = "php_".$name;
echo "$name2<br>";
  .
  .
  .
include(sendmail.php);
?>
//--------------------------------------------------------

ÔõÑùʵÏÖ²¢·¢·ÃÎÊ£¬¸øÿ¸öÓû§·µ»ØÏàÓ¦µÄ½á¹û£¿×îºÃÄÜд¸ö´úÂë¡£  
лл£¡
±¾À´¾ÍÊDz¢·¢µÄ°¡

Õâ¾ÍÊDz¢·¢ÁË£¬Óû§Ìá½»²»Í¬µÄ£¬Óû§Ö»Äܵõ½×Ô¼ºµÄ¶«Î÷¡£¡£¡£

ÒýÓÃ
Õâ¾ÍÊDz¢·¢ÁË£¬Óû§Ìá½»²»Í¬µÄ£¬Óû§Ö»Äܵõ½×Ô¼ºµÄ¶«Î÷¡£¡£¡£


²»ÊÇ˵phpÊǵ¥Ï̵߳Äô£¿
Óû§AÌá½»Êý¾Ýºó£¬test.phpÕýÔÚÔËÐÐÖУ¬´ËʱÓû§BºÃÏñ²»ÄÜÌá½»Êý¾Ý°¡¡£

ÒýÓÃ
²»ÊÇ˵phpÊǵ¥Ï̵߳Äô£¿
Óû§AÌá½»Êý¾Ýºó£¬test.phpÕýÔÚÔËÐÐÖУ¬´ËʱÓû§BºÃÏñ²»ÄÜÌá½»Êý¾Ý°¡¡£


Ïà¹ØÎÊ´ð£º

ÈçºÎÔÚphpÍøÕ¾ÖÐÌí¼Ó±³¾°ÒôÀÖ - PHP / »ù´¡±à³Ì

ÎÒÔÚÍøÕ¾µÄÒýµ¼Ò³ÖÐÌí¼ÓÁË<embed src="ÒôÀÖµØÖ·" autostart="true" loop="true" hidden="true"></embed>
Õâ¾ä»°£¬È»ºóÌøתҳÃæºó£¬±³¾°ÒôÀÖ¾ÍûÓÐÁË£¬ÔõôÈÃÕ ......

php mail - PHP / »ù´¡±à³Ì

ÎÒ×î½üдÁ˸ömailÖ´ÐкóûÓгöÏÖ´íÎóÐÅÏ¢Ö´ÐÐÍê±ÏºóÓÊÏäÀﲢû·¢ËÍÓʼþ£¬Çë¸÷λ°ïÎÒ¿´¿´
ÎÒÓõĵÄÊÇiis smtp
<?php
$to = 'xueyuxia1988@sohu.com';
$subject = 'the subject';
$message = 'hello';
$ ......

php ¹ØÓÚsession_startµÄÎÊÌâ - PHP / »ù´¡±à³Ì

Çë½Ì¸ßÊÖ°ï棬session_start£¨£©·ÅÔÚÍⲿµÄÎļþÓà require »ò include °üº¬½øÀ´£¬ÇëÎÊÕâÑù×öºÏÀíÂ𣿣¿´úÂëÔËÐÐÊÇÕý³£µÄ£¬ÕâÑù×öºÏÀíÂ𣿣¿Çë¸ßÊÖÖ¸µã¡£¡£¡£¡£ лл····
require »ò include ......

phpÎļþµ÷ÓÃjsÎļþÀïµÄ·½·¨£¿ - PHP / »ù´¡±à³Ì

¼±Çó£ºÔÚphp½Å±¾ÀïÔõôµ÷ÓÃjsÎļþÀï·½·¨£¿
»òÕßÔÚjsÎļþÀïµ÷ÓÃphpÎļþдµÄseesion£¿
PHP¸ÕÈëÃÅѧϰ,ÓÑÇ鶥һ¸ö


¼±Çó£ºÔÚphp½Å±¾ÀïÔõôµ÷ÓÃjsÎļþÀï·½·¨£¿
//echo '<script>alert("ok");< ......

ÓÃphp±¸·ÝÊý¾Ý¿â³É¹¦£¬»¹Ô­Ê±³ö´í - PHP / ¿ªÔ´×ÊÔ´

ÊÇÓñðÈËдµÄÀà×öµÄ£¬»¹Ô­Ê±ÌáʾYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO admin(seq,passwd,type,n ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ