我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何在网址中将%26更改为&符号?

I have simple login in my php

Where in i will input password

login.php

<form action="output.php" method="get">
    Enter your password:<input type="text" name="password">
    <input type="submit" value = "Login">
</form>

and it will give me an output

output.php

<?php
$password = $_GET["password"];

if($password){
echo $password;
}

?>

but if i enter ampersand(&) on the textbox. the url change to %26

http://localhost:8888/output.php?password=%26

how can i change it to ampersand(&)?

like

http://localhost:8888/output.php?password=&

Thank you

近期文章

  • cURL over http / socks proxy with authentication
  • 将表列数据更改为utf8
  • 所有CURL函数在php中返回null
  • 当我包含$ this-> load-> library('session'); 属性会话将自动销毁
  • 以优雅的方式基于关键结果获取中间x结果
  • 倒计时器与动作
  • 如何在SOAP请求中添加策略文件(.xml)
  • 多个PHP脚本可以同时运行吗?
  • sendmail在CodeIgniter上失败但在CLI上运行
  • Laravel一次添加多个作业
  • PHP重定向URL
  • TCPDF使内容跳转页面
  • 使用PHPmailer从网站发送消息时遇到错误
  • 如何从Codeigniter中的另一个控制器访问缓存?
  • 使用PHP和MySQL的AJAX长请求
  • 获取图像特定部分的坐标
  • 有没有办法转换文本框值并分配给PHP变量?
  • 如何在当前页面上获取段值以在wordpress上的查询页面中传递?
  • 选择后,从后续选择列表中删除选项
  • 如何使用Laravel-OracleDB?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华