environment variable code fails
| From: | jrfoutin | Date: | Wed, 20 Mar 2002 16:39:41 +0000 |
| Subject: | environment variable code fails | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-89358@lists.php.net to get a copy of this message | ||
<?
session_start();
include("$DOCUMENT_ROOT/php/main.home.php");
?>
The environment variable in this code on index.php is not invoking
main.home.php page in php folder in htdocs on new server.
Code worked on previous server setup, but fails on new server. Other php
calls to MySQL db in ported site code that uses environment variable
seems to work fine, but this very first start page code fails.
What can be wrong?--JRF