/ Published in: PHP

This code from pfp fusion engine.
Put it above your code in the php-script.
Put it above your code in the php-script.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Clean URL Function, prevents entities in server globals function cleanurl($url) { return $url; } // Sanitise $_SERVER globals $_SERVER['PHP_SELF'] = cleanurl($_SERVER['PHP_SELF']); $_SERVER['QUERY_STRING'] = isset($_SERVER['QUERY_STRING']) ? cleanurl($_SERVER['QUERY_STRING']) : ""; $PHP_SELF = cleanurl($_SERVER['PHP_SELF']);
URL: http://www.php-fusion.co.uk
Comments
