<?php
?? ????: http://ipnx.cn/code/1040.html#code_down_li
? ?? ?? phpstorm?? ?? ??? ?????.
C:xamppphpphp.exe "D:YangsipengcodePS php CODEreg.php"
PHP ?? ??: ???? ?? ??: D:YangsipengcodePS? ??? ?? php CODEreg.php 3?? ?
?? ??: ???? ?? ??: D:YangsipengcodePS? ??? ?? php CODEreg.php 3?
PHP ??: ???? ?? ??: D:YangsipengcodePS? pwd 7?? php CODEreg.php
<br />
??: ???? ?? ??: D:YangsipengcodePS? pwd 7?? pwd
< br />
?? ?? 0?? ????? ???????
? ???? ?? ??? ???? ?????. ??? ?? html ??? ???? ? ??? ?????
//??? ?? $_GET ?? ???? ???? ??? ??? ??? ?? ???? ???? <input type="text" name="username" /> ???? ?? ?? ???.
$u = $_GET['username' ];
echo $ u.'<br />';
//$_GET['pwd'] ??? ?? ?????<input type="text" name="username" />
$ passwd = $_GET[' pwd'];
echo $passwd.'<br />';
?>
???? ?? ??: ??? ?? PHP $_GET?? ?? ???? ??? ?? ??? ??? ??? ? ????