Forum Moderators: coopster
<? include"/cgi-bin/phpscr/online.php";?>
and this is what shows up on the webpage when i view it
Warning: main(/cgi-bin/phpscr/online.php): failed to open stream: No such file or directory in d:\websites\belj544352\www\into1.php on line 15
Warning: main(): Failed opening '/cgi-bin/phpscr/online.php' for inclusion (include_path='.;c:\php4\pear') in d:\websites\belj544352\www\into1.php on line 15
when i try the same thing with an extension of .html as the webpage it doesnt show anything.
Again im hosted on a windows 2000 server
I'm pretty new at this too but I'll give it try since no one else is answering.
It's looking for the relative location according to your php file. You could modify it to put in the whole directory structure. Something like
<? include "c:/inetpub/wwwroot/cgi-bin/phpscr/online.php"?>
Information on the include path is here [php.net].
Tim