Hi Dirk:

> The PHP online-manual says, that under windows remote files can 
> not be used!
<SNIP>
> Is that the reason, why the following, won't work for me:
> include("http://localhost/dynamx2html/dynalib.php");
> Is "localhost" in this context remote or not ?
Using include() should work on you Win box. There are a few
issues with include() & require() though. Firstly, you would be 
better of editing the following in your PHP.INI;
include_path = "<snipped>"; UNIX: "/path1:/path2" Windows: "\path1;\path2"

For example, if PHP fails, it will deliver the raw unparsed text of your
script to the browser and any security information contained within
will be displayed for all to see. Not good!

Create a directory outside of your HTTP document path and add that
to "include_path" in PHP.INI. Dump your to be included files in there
and call them by;
include("my_include_file.ext");

If you need any more information, feel free to ask. By the way, the PHP
manual gives you plenty of information on include(). The CHM version
is good too (think it's available on http://www.php.net/ ).

> Any hints appreciated,
> Dirk
Regards Jerry.





-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to