New at PHP; easy question!?
| From: | Kraa de Simon | Date: | Wed, 13 Sep 2000 22:24:32 +0000 |
| Subject: | New at PHP; easy question!? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-16648@lists.php.net to get a copy of this message | ||
Hi,
Need to convert the directory location from UNIX notation to WIN32.
When I just convert / to \ I get a parse error on the line with DIR_CATALOG.
Parse error: parse error in includes\application_top.php on line 7
How come?
<?
// define our webserver variables
define('HTTP_SERVER', 'http://exchange');
define('HTTPS_SERVER', 'https://exchange');
define('ENABLE_SSL', 1); // ssl server enable(1)/disable(0)
define('DIR_SERVER_ROOT', '/usr/local/apache/');
define('DIR_CATALOG', '/catalog/');
define('DIR_IMAGES', '/catalog/images/');
define('DIR_INCLUDES', 'includes/');
define('DIR_BOXES', DIR_INCLUDES . 'boxes/');
define('DIR_FUNCTIONS', DIR_INCLUDES . 'functions/');
define('DIR_MODULES', DIR_INCLUDES . 'modules/');
define('DIR_LANGUAGES', DIR_INCLUDES . 'languages/');
Met vriendelijke groet / With kind regards,
Simon de Kraa
ICL Logistic Systems
Simon.de.Kraa@icl.nl
---
Microsoft Windows 2000 Professional SP 1, Progress 9.1a19, Roundtable 9..1a
SCO UnixWare 7.1.1, Progress 9.1a11