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ºÃÏñ²»ÄÜÌá½»Êý¾Ý°¡¡£
Ïà¹ØÎÊ´ð£º
ÎÒÔÚÍøÕ¾µÄÒýµ¼Ò³ÖÐÌí¼ÓÁË<embed src="ÒôÀÖµØÖ·" autostart="true" loop="true" hidden="true"></embed> Õâ¾ä»°£¬È»ºóÌøתҳÃæºó£¬±³¾°ÒôÀÖ¾ÍûÓÐÁË£¬ÔõôÈÃÕ ......
ÎÒ×î½üдÁ˸ömailÖ´ÐкóûÓгöÏÖ´íÎóÐÅÏ¢Ö´ÐÐÍê±ÏºóÓÊÏäÀﲢû·¢ËÍÓʼþ£¬Çë¸÷λ°ïÎÒ¿´¿´ ÎÒÓõĵÄÊÇiis smtp <?php $to = 'xueyuxia1988@sohu.com'; $subject = 'the subject'; $message = 'hello'; $ ......
Çë½Ì¸ßÊÖ°ï棬session_start£¨£©·ÅÔÚÍⲿµÄÎļþÓà require »ò include °üº¬½øÀ´£¬ÇëÎÊÕâÑù×öºÏÀíÂ𣿣¿´úÂëÔËÐÐÊÇÕý³£µÄ£¬ÕâÑù×öºÏÀíÂ𣿣¿Çë¸ßÊÖÖ¸µã¡£¡£¡£¡£ лл···· require »ò include ......
¼±Çó£ºÔÚphp½Å±¾ÀïÔõôµ÷ÓÃjsÎļþÀï·½·¨£¿ »òÕßÔÚjsÎļþÀïµ÷ÓÃphpÎļþдµÄseesion£¿ PHP¸ÕÈëÃÅѧϰ,ÓÑÇ鶥һ¸ö ¼±Çó£ºÔÚphp½Å±¾ÀïÔõôµ÷ÓÃjsÎļþÀï·½·¨£¿ //echo '<script>alert("ok");< ......
ÊÇÓñðÈËдµÄÀà×öµÄ£¬»¹ÔʱÌáʾ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 ......