Leon,
>No worries. The double slashes is due to a change between PHP 3 and PHP 4.
>I think is a change in the behavior of dirname(). The line in index.php3:
> dirname($SCRIPT_NAME)
>in 3 needs a trailing slash added to it, but not in PHP 4.
He said he was running v4.0.3pl1, and I get no trailing slash using dirname() here
under v4.0.2, so why would he be ending up with 2?
I also tested this on two different hosts, one running v3.0.7 and the other running
v3.0.9 and neither of these returned a trailing slash. I didn't find any notes on
this in the manual, nor the version function reference. I followed the notes from the
manual and checked out http://www.helpnet.com.au/php/dirname.html - they have a couple
of interesting functions displayed there (running 4.0.2 also).
John
--
/* SteeleSoft Consulting John Steele - Systems Analyst/Programmer
* We also walk dogs... [EMAIL PROTECTED] - PHP/MySQL/Linux/Hosting
* http://www.gamecomputer.com/ssc/
*/
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]