<?php set_magic_quotes_runtime(false); ini_set('magic_quotes_gpc',0); ini_set('magic_quotes_runtime',0); echo $_GET['a'];
这样。访问a.php?a=1'\
输出的还是l\'\\
怎么能自动关闭?
不使用stripslashes
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
小伙看你根骨奇佳,潜力无限,来学PHP伐。