//Create Image By Url Method – 2function create_image_by_url2($url){ $path_parts = pathinfo($url); copy($url,$path_parts[‘basename’]); }create_image_by_url2($url);
php-generate-image-by-url
Posted inUncategorized
create dynamic images using php
$url = “http://technmarketing.com/wp-content/uploads/2009/03/twitter-wallpaper2.jpg”; //Create Image By Url Method – 1function create_image_by_url1($url){ $target_path = $url; $imgdir=””; $path_parts = pathinfo($url); $file_name = $path_parts[‘basename’]; $imgext = $path_parts[‘extension’]; if($imgext==’jpg’ … create dynamic images using phpRead more