/ Published in: PHP
![](/img/icon_sav.png?v3)
Remove all arguments from query string in URL except one
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$url = $_SERVER['PHP_SELF']; $new_url = $url_parts['scheme'].'://'.$url_parts['host'].$url_parts['path']; }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)