Inetpub is giving me troubles with include.
// $_SERVER['DOCUMENT_ROOT'] is set - you can use it as usual...
Using include($_SERVER['DOCUMENT_ROOT'].'/dir/folder/file.php');
I get a lengthy error [function.include]: failed to open stream: ... and
failed opening ... for inclusion (include_path='.;c:\php5\pear') in C:\Inetpub\wwwroot ....
ALSO
Using the actual root path times out after 30 seconds.
I have googled .;c:\php5\pear and mainly found many sites displaying this same type error yet have not found a resolution.
If you are using PHP5 + IIS and can include/require files please let me know if you have a resolution for this.
PHP5 includes w/IIS 5.1
Moderator: General Moderators
Re: PHP5 includes w/IIS 5.1
What is the reason you are using IIS instead of Apache?
Re: PHP5 includes w/IIS 5.1
My hosting is IIS.
My aim here is to get IIS includes to work and learn something new.
My aim here is to get IIS includes to work and learn something new.