note 36070 added to function.imagejpeg
| From: | chris at rn2 dot php dot net | Date: | Wed, 24 Sep 2003 20:20:56 +0000 |
| Subject: | note 36070 added to function.imagejpeg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-57068@lists.php.net to get a copy of this message | ||
Just a reminder, if you're passing a string of text via GET, you should rawurlencode() or
urlencode() them. Some older browsers (such as Netscape 4.x) have issues regarding spaces in the
URL.
NS 4 shows a broken image:
<image src="newimage.php?text=Show me the text!">
Makes all browsers happy:
<image src="newimage.php?text=<? echo urlencode('Show me the text!');
?>">
Better to be safe than sorry...
----
Manual Page -- http://www.php.net/manual/en/function.imagejpeg.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+36070
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+36070&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+36070&report=yes