note 30648 rejected from function.file by nicos
| From: | nicos@php.net | Date: | Tue, 25 Mar 2003 00:56:13 +0000 |
| Subject: | note 30648 rejected from function.file by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-45770@lists.php.net to get a copy of this message | ||
Hello,
may it be that file() has a problem with the "&-sign" in an URL ?
If I send the URL with a form to the script it works, but if I have the url in a link it doesnt work
because all beyond the "&-sign" is cut
example URL
http://www.vbulletin-germany.com/forum/forumdisplay.php?s=&forumid=1
if I send this URL with a form
@$test12345 = implode("", file ("$url"));
open the site with the correct URL
if I use:
http://www.my-site.de/script.php?
myaction=start&url=http://www.vbulletin-
germany.com/forum/forumdisplay.php?s=&forumid=1 (without the spaces in the URL, its only for
posting it here)
to send the URL to my script
@$test12345 = implode("", file ("$url"));
open only:
http://www.vbulletin-germany.com/forum/forumdisplay.php?s=
that means: &forumid=1 is cut from my URL
whats the reason and what ca I do ?
Sorry for my terrible English ;)