On Fri, 26 Jan 2001 13:37:42 -0500, Shane McBride
([EMAIL PROTECTED]) wrote:
>I have a script that pulls in the following file via: require
>'common.inc'
>
>The problem occurs when it hits the $UNIX_PATH variable. At least I
>think that's where it creates a problem. If I comment it out it
>works fine, but I of course need that variable.
>
>First of all I created a script that creates this file and I don't
>understand why it doubled the backslashes in the $UNIX_PATH
>variable. Secondly, why it is crapping out on the double
>backslashes? I thought PHP would use the first one as an escape
>character.
>
>As a side note: I know the example shown here shows a windows path
>for the unix path variable, I'm trying to port this over to
>winders..  :-0
>
><?
>$DB_SERVER="localhost";
>$DB_LOGIN="shane";
>$DB_PASSWORD="whatever";
>$DB_NAME="test";
>$HTTP_HOST="localhost";
>$AUTH_USER="admin";
>$AUTH_PASS="installme";
>$CO_NAME="RDI Technologies";
>$EMAIL="[EMAIL PROTECTED]";
>$UNIX_PATH="d:\\sites\\mercpow\\mp\images\";

it's obvious if you look at it, you want:
$UNIX_PATH="d:\\sites\\mercpow\\mp\\images\\";



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to