include takes the base directory to be the same directory the script is in.
e.g. Running the file c:\my_web\Stephen\index.php include( "hello.php" ) this includes the file c:\my_web\Stephen\hello.php Hope this helps Stephen ----- Original Message ----- From: "Omar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 04, 2002 3:34 PM Subject: [PHP-WIN] trouble with update from php 3 to php 4.2.3 > I updated php from version 3 to 4.2.3 on a win NT 4 server (with iss 4). > Everything went ok, but the include() function. > I have problems when including files. > I tried to specify a directory in the php.ini file but it still didn't work. > This is how i have the include line: > include ('file.inc'); > > I copied the file to the folder where my php file is, to the directory where > originally was (x:\path\includes) and it doesn't work. > I really need some help. > Thanx. > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php