I tried to run the following piece of code :
<?php
$im = imagecreatefrom png("map.png");
imagepng($im);
?>
map.png being a file in the same directory as my php files, im fairly sure
that the gd library works, im using a teaching webserver and some of the
other example iv tried from the php website have worked fine. is their
something wrong with my code?
Thanks David
ps My ultimate aim is to use a map of the uk and then using data from a db
create regions on that map using php, any tips here are appreciated as well
<?php
$im = imagecreatefrom png("map.png");
imagepng($im);
?>
map.png being a file in the same directory as my php files, im fairly sure
that the gd library works, im using a teaching webserver and some of the
other example iv tried from the php website have worked fine. is their
something wrong with my code?
Thanks David
ps My ultimate aim is to use a map of the uk and then using data from a db
create regions on that map using php, any tips here are appreciated as well
Comment