Re: trouble with update from php 3 to php 4.2.3
| From: | Stephen Edmonds | Date: | Wed, 04 Dec 2002 15:39:20 +0000 |
| Subject: | Re: trouble with update from php 3 to php 4.2.3 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17264@lists.php.net to get a copy of this message | ||
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" <omar_campos@compusoluciones.com>
To: <php-windows@lists.php.net>
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
>
>