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\";
$WWW_PATH="http://localhost/mp/images/$image";
$DOC_ROOT="mp";
$ADMINROOT="admin";
?>

TIA-

-Shane

Reply via email to