note 30648 added to function.file
| From: | webmaster at the-afterburner dot php dot net | Date: | Mon, 24 Mar 2003 23:39:58 +0000 |
| Subject: | note 30648 added to function.file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45766@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 ;)
--
http://www.php.net/manual/en/function.file.php
http://master.php.net/manage/user-notes.php?action=edit+30648
http://master.php.net/manage/user-notes.php?action=delete+30648
http://master.php.net/manage/user-notes.php?action=reject+30648