note 114073 added to function.imagejpeg
| From: | BrianMoreau | Date: | Wed, 08 Jan 2014 22:50:18 +0000 |
| Subject: | note 114073 added to function.imagejpeg | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-198164@lists.php.net to get a copy of this message | ||
If like me you like to rename uploaded images and add the time to the file name so you never end up
with two images with the same name.
Watch out because you can save a file on your server using illegal characters such as a colon
":"
e.g
030363 6-01-2014 18:05:29 image.jpg
I spent ages trying to work out why my FTP program would not download the images created with PHP
I guess this might be dependent on what file system your using but it wouldn't let me download
the images to a windows file system.
But I can obviously create files on my Linux server with a colon in the file name.
----
Server IP: 72.52.91.14
Probable Submitter: 72.52.91.14
----
Manual Page -- http://php.net/manual/en/function.imagejpeg.php
Edit -- https://master.php.net/note/edit/114073
Del: integrated -- https://master.php.net/note/delete/114073/integrated
Del: useless -- https://master.php.net/note/delete/114073/useless
Del: bad code -- https://master.php.net/note/delete/114073/bad+code
Del: spam -- https://master.php.net/note/delete/114073/spam
Del: non-english -- https://master.php.net/note/delete/114073/non-english
Del: in docs -- https://master.php.net/note/delete/114073/in+docs
Del: other reasons-- https://master.php.net/note/delete/114073
Reject -- https://master.php.net/note/reject/114073
Search -- https://master.php.net/manage/user-notes.php