You can save yourself a LOT of headaches by utilizing the ever-popular
'include_path' feature so you never have to put any kind of directory
info into your include statements.
http://php.net/include_path
On Tue, November 7, 2006 9:50 pm, Nuno Vaz Oliveira wrote:
> Hi All,
>
> I'm relatively new to
>
> Correct.
>
> http://www.php.net/set_include_path
>
Thanks! :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wednesday 08 November 2006 07:52, Nuno Vaz Oliveira wrote:
> Hello Larry,
>
> Now I think I got it :)
>
> > All include statements are parsed based on the
> > defined include path, where "." is interpreted
> > relative to the active context, vis, the script
> > that the web server itself is runn
Hello Larry,
Now I think I got it :)
> All include statements are parsed based on the
> defined include path, where "." is interpreted
> relative to the active context, vis, the script
> that the web server itself is running.
I wasn't aware of the existence of an include_path...
That's why I was
On Tuesday 07 November 2006 21:50, Nuno Vaz Oliveira wrote:
> because INCLUDE\SESSION.PHP is going to be included in INDEX.PHP witch is
> NOT in the same directory of DATABASE.PHP?
>
>
> In other words... When PHP processes an include statement does it include
> the file where the include statemen
5 matches
Mail list logo