note 36070 deleted from function.imagejpeg by cmb
| From: | cmb@php.net | Date: | Sun, 02 Oct 2016 08:02:10 +0000 |
| Subject: | note 36070 deleted from function.imagejpeg by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-206728@lists.php.net to get a copy of this message | ||
Note Submitter: chris AT NOSPAM sketchdiary DOT com
----
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...