|
-
PHP problem
I'm a beginner in PHP, and I've tried to make some code by myself. I've stubled across this problem I can't seem to solve.
When I use the line <? include("/cgi-bin/banner.cgi"); ?> I get an error msg.
Warning: Failed opening '/cgi-bin/banner.cgi' for inclusion (include_path='./:/usr/local/lib/php') in /home/outerfx/outerfx-www/banner.php on line 1
It seems as if the PHP thingie doesn't know how to read from root with /. How do I define this, so that it will be correct?
To use /cgi-bin in HTML works fine, why?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|