I know of imagecreatefromgif(), imagecreatefromjpeg(), and imagecreatefrompng() but is there a way to create an image resource (for png preferably) from a url of any
you analyse this code.
$url=$_SERVER['REQUEST_URI']; $url=explode('.',$url); $extension=$url[1]; switch($extension){ case'jpg': imagecreatefromjpeg(); break; }