Re: Includes not working on W2K
| From: | Frank M. Kromann | Date: | Fri, 06 Dec 2002 18:14:55 +0000 |
| Subject: | Re: Includes not working on W2K | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-17323@lists.php.net to get a copy of this message | ||
On Windows 200 and XP you can use / as your seperator. This will not work
on WIndows 98 though.
Using the / makes your code work on both W2k and *nix boxes. It can be
used both in php.ini and in your scripts.
- Frank
> In php.ini file that is present in the windows directory check the
> include_path directive. It should have something like:
>
> include_path = ".;c:\apps\php\pear"
>
> Also, when making includes, check for the escaped "\". If they are
> present but not escaped, the directory that php will try to find will be
> completelly diferent...
>
> Cheers...
> Luis Ferro
> TelaDigital.Net
>
> Ed Turbin wrote:
>
> >I've just installed PHP on Windows 2000 and I'm not able to use
includes.
> >I'm able to get the PHP info screen as a test, so I know it is working.
I
> >edited the PHP.ini file to the directory where my include files are
located
> >and still no luck. Is there anything that I am overlooking, or anything
else
> >that I need to do to get includes working?
> >
> >
> >
> >
> >
>
>
> ---
> [This E-mail scanned for viruses by Declude Virus]
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>