& should get translated to &, but not vice versa
Jonathan Rosenberg wrote:
I have a page with thumbnail pictures that can be clicked on to see a larger
picture. Each picture is hyperlinked as follows
I access the 'pic' & 'caption' attributes with $_GET['pic'], etc. Pretty
I have PHP set up so that error messages get mailed to a specified mail
account. Every so often I get the following error message:
Undefined index: caption
In file /home/..../show_pic.php, line 64
The problem is obviously (I think) that the $_GET['caption'] is failing.
What I can't figure out is why the '&' got turned into '&'. Is a
browser doing this?
Tabby (RB), Lynx (RB), Licorice, Tigger,
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php