代码里写着
<input type="button" name="step" value="Continue to step 2 of 3" onclick="location.href='<?php echo $_SERVER['PHP_SELF']; ?>?step=2';" />
产生的网页代码是这样的
<input type="button" name="step" value="Continue to step 2 of 3" onclick="location.href='/mywebtest/install/index.php?step=2';" />
然后我点击这个按钮实际跳转url地址是
http://localhost/personal/applications/mywebtest/install/?step=2
请问url里为啥会有/personal/applications ?? 难道不应该是
http://localhost/mywebtest/install/?step=2吗
--
FROM 61.237.228.*