Re: [PHP] Forward slashes and header requests

2008-08-24 Thread Jochem Maas
Jochem Maas schreef: ... apply ... or I'm just inconsistent or ... well Cumming no doubt has something to say about it ;-) that should have been Cummings as in Robbert. don't you just hate it when you see a typo after you hit send and before the email leaves the screen :-P -- PHP Gener

Re: [PHP] Forward slashes and header requests

2008-08-24 Thread Jochem Maas
Dave M G schreef: Ashley, Thank you for responding. best way to fix it was to use $location = str_replace('//','/', $_SERVER['REQUEST_URI']); Unfortunately the trim() command I use seems to destroy all slashes anyway, so this doesn't seem to have an impact. Thank you for the suggestion, th

Re: [PHP] Forward slashes and header requests

2008-08-21 Thread Dave M G
Ashley, Thank you for responding. best way to fix it was to use $location = str_replace('//','/', $_SERVER['REQUEST_URI']); Unfortunately the trim() command I use seems to destroy all slashes anyway, so this doesn't seem to have an impact. Thank you for the suggestion, though. Anyone have

Re: [PHP] Forward slashes and header requests

2008-08-21 Thread Ashley Sheridan
I had a similar thing happen with a file management system. I found the best way to fix it was to use $location = str_replace('//','/', $_SERVER['REQUEST_URI']); Ash www.ashleysheridan.co.uk --- Begin Message --- PHP List, I have built my own CMS system, and I've just finished setting it up so