Error 'Failed opening ...' when using include command
| From: | Art Bowles | Date: | Fri, 02 Nov 2001 18:42:53 +0000 |
| Subject: | Error 'Failed opening ...' when using include command | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-10195@lists.php.net to get a copy of this message | ||
I have a php top score that functions correctly the only thing that does not
work is when I try to use an include command. I want to display the tope
scores in an existing php page, but when the script runs I get and error
Here is the script
<?php
$filen =
"http://24.114.69.70/phptop/CPella/scores.php?filename=scores/score.sco&scor
esize=10&action=VIEW&viewtype=HTML";
include($filen);
?>
And here is the error
Warning: Failed opening
'http://24.114.69.70/phptop/CPella/scores.php?filename=scores/score.sco&scor
esize=10&action=VIEW&viewtype=HTML' for inclusion (include_path='') in
F:\Flash Experiments\PHP Top Score\CPella\test.php on line 10
I though it may have something to do with the include path in my PHP.INI
script so I added this to it
F:\Flash Experiments\PHP Top Score\CPella\
but still nothing. What am I doing wrong. If I copy the string into the
address bar, it works fine, and opens so what gives.
Thanks