I use this code:
<?php require_once(http://www.mydomain.com/cgi-bin/myscript.cgi'); ?>
And when I load the index.php page I see the script like it should be in (SSI) but i also see a line above it saying:
Warning: main(): stream does not support seeking in /home/public_html/index.php on line 127
Line 127 is the line where the require_once function is placed on...
Any one know what the oproblem could be?
You missed a quotation mark. Try this:
<?php require_once('http://www.mydomain.com/cgi-bin/myscript.cgi'); ?>
Besides the quotation- I did a little research on that error.
It seems hundreds of people have said their host upgraded PHP or recompiled it and all of a sudden they get this error for every include or require.
I couldnt find exactly what it means-but you can hide the error like this
<?php @require_once('http://www.mydomain.com/cgi-bin/myscript.cgi'); ?>
No prob-remember thats not fixing the problem, just hiding it.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)