Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: This does not work, I tried so many time but i get "The image “[url]http://localhost/test.php”[/url] cannot be displayed because it contains errors". check whether this code is correct or not, [CODE] $location='C:/xampp/htdocs/dog.jpg'; $size = getimagesize($location); $img_type = $size['mime']; $data = file_get_contents($location); //$img_data = addslashes($data); header("Content-type: ".$img_type); print $data;[/CODE] |
The End.