hi
i got some "small" problem.
to cut a long story short:
$name = "http://dev.progamerz.com/firmen/_overview.php";
$datei = fopen($name, "r");
--> works.
$name = "http://dev.progamerz.com/firmen/_overvi ... ter=&page=";
$datei = fopen($name, "r");
--> doesn't work. returns this message:
Warning: fopen(http://dev.progamerz.com/firmen/_overvi ... ter=&page=) [function.fopen]: failed to create stream: Invalid argument in /www/htdocs/develop/global.inc.php on line 423
... which seems to be kind of spontaneous. it worked once, i didn't change anything. maybe, php has been updated on the server, i'm not sure about that. currently, php 4.3.1 is running.
has anybody got a hint, an idea, something?
would be very nice...
thanks!
fopen()
Moderator: General Moderators
-
Illusionist
- Forum Regular
- Posts: 903
- Joined: Mon Jan 12, 2004 9:32 pm
-
Illusionist
- Forum Regular
- Posts: 903
- Joined: Mon Jan 12, 2004 9:32 pm
yes, i have, and it works.
i think the problem is that http://dev.progamerz.com/firmen/_overvi ... ter=&page= redirects to http://dev.progamerz.com/firmen/_overview.php. fopen() is obviosly not able to handle this header-redirect. but it WAS... i don't get it
at least i know where the error comes from...
i think the problem is that http://dev.progamerz.com/firmen/_overvi ... ter=&page= redirects to http://dev.progamerz.com/firmen/_overview.php. fopen() is obviosly not able to handle this header-redirect. but it WAS... i don't get it
at least i know where the error comes from...