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.
http://www.local.com/?code=xxxxxxxxxxxxxxxxxxxxxxxx
我想在 PHP 中检索和保存代码参数
你可以试试这个
$code = $_GET['code'];
现在$code将具有 url 中的代码值
$code
也许这会起作用:
<?php $code = $_GET['code']; ?>
$code现在应该code在 URL 中有 。
code
有关详细信息$_GET,请参阅此页面。
$_GET