> I'm receiving "Parse error: parse error, expecting
> `T_CONSTANT_ENCAPSED_STRING' in /host/plugged/index.php on line 3" error
This parse error states that the path to the script that generates the error
> contents of homedir.php is
> if (getenv(SERVER_ADDR) == "127.0.0.1")
> $homeDir = "C:/home/plugged";
> // $homeDir = dirname(__FILE__);
> $homeDir = "/home/plugged";
... while this file uses the directory /home/plugged.
Is this intentional or are they both meant to be the same?
A parse error will be reported on the line AFTER a require(_once) if the
required file does not exist. That's why I'm suspecting that file
homedir.php does not exist in the same directory as index.php.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php