Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
再会,
我有一个非常简单的脚本:
<?php $first=$_POST['first']; echo "$first"; ?>
我希望用户能够在 url 栏中输入一些内容,比如 www.test.com/test.php?first=aa;
然后回声aa。
这怎么可能?
改变
$first=$_POST['first'];
至
$first=$_GET['first'];
或者
$first=$_REQUEST['first'];
使用 GET 而不是 POST
$_GET["first"]
每当您尝试通过您使用的 url 获取变量的内容时:
$_GET['variable_name']
否则你使用
$_POST['variable_name']
I made and initialized my model with the "change:status" event like this
Box = Backbone.Model.extend({ initialize: fu
Reference php × 1429865 c/c++ × 756500 nginx × 49975 mongodb × 159057 mybatis × 3233 anaconda × 13410 pycharm × 14671 python × 1902243 vscode × 56040 docker × 110988 github × 49000 flask × 49129 ffmpeg × 24037 jmeter × 16910 matplotlib × 63493 bootstrap × 54641