LinuxÒÁµéÔ°ÂÛ̳'s Archiver

С³æ77 ·¢±íÓÚ 2004-10-19 00:27

²»Öªµ½ÎÒ´íÔÚʲôµØ·½?

Õâ¸öÊÇtest1.php
<form method="POST" action="test2.php" name='form1' target="_blank">
<input type="text" name="s1" value='123'>
<input type="submit" name="s2" value=123>                                             
</form>

Õâ¸öÊÇtest2.php
<?php
        echo $s1;
?>
ÇëÎÊΪʲôÎÒµÄtest2.phpÀïÃæÊ²Ã´¶¼²»ÄÜÏÔʾ?

u0u0 ·¢±íÓÚ 2004-10-19 16:52

test2.php¸ÄΪ

<?php
$s1=$_POST['s1'];
echo $s1;
?>

С³æ77 ·¢±íÓÚ 2004-10-20 01:27

лл!ÎÊÌâÒѾ­½â¾ö.

Ò³: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.