0
推送斜线我有一个窗体,当你点击搜索时,它会用%2F
而不是斜线写出网址。我怎样才能解决这个问题?用斜杠向网址
代码:
<form name="cdsearch" method="get" action="">
<input type="hidden" name="route" value="database/comics" /> <-- This is where the slash is needed
<input style="width: 100%;" type="text" name="q" value="<?php echo $q ?>" /><br/>
<input style="width: 100%;" type="submit" value="Search Comic Database" />
</form>
这就是所谓的URL编码。使用url_decode – Chris
我会在哪里使用这个? – rackemup420