note 91992 added to function.imagecreate
| From: | baggins at 1337z dot com | Date: | Fri, 03 Jul 2009 22:59:46 +0000 |
| Subject: | note 91992 added to function.imagecreate | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-157897@lists.php.net to get a copy of this message | ||
In response to sk89q:
It is much easier to just do the following:
<?php
$image = imagecreatefromstring(file_get_contents('coolpic.anything'));
?>
You can obviously wrap that into a function if you so desire.
----
Server IP: 66.207.199.35
Probable Submitter: 207.112.94.243
----
Manual Page -- http://www.php.net/manual/en/function.imagecreate.php
Edit -- https://master.php.net/note/edit/91992
Del: integrated -- https://master.php.net/note/delete/91992/integrated
Del: useless -- https://master.php.net/note/delete/91992/useless
Del: bad code -- https://master.php.net/note/delete/91992/bad+code
Del: spam -- https://master.php.net/note/delete/91992/spam
Del: non-english -- https://master.php.net/note/delete/91992/non-english
Del: in docs -- https://master.php.net/note/delete/91992/in+docs
Del: other reasons-- https://master.php.net/note/delete/91992
Reject -- https://master.php.net/note/reject/91992
Search -- https://master.php.net/manage/user-notes.php