Does anybody know how to overcome the problem of removing the extra slashes from my url's when on a linux server.
e.g.
on my windows testing server I have the code:
if ($SESSION['options'] == TRUE){
ob_end_clean();
header ("Location: [url]http://[/url]".$SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/handle_product_quote_form.php");
exit();
}
Notice the / before "handle..." to allow it to work on windows
However when uploaded to my Linux server an extra slash is inserted into the URL and the page does not load. I therefore have to remove the slash for it to work.
Any help would be appreciated.