PHP imagecreatefrompng()?

  • Thread starter Thread starter Andy J
  • Start date Start date
A

Andy J

Guest
I'm trying to get imagecreatefrompng() to pull an image from a different folder. Is this possible? All of my current attempts have failed.

$imagepath = 'images/members' . $_GET['name'] . '.png';
$image = imagecreatefrompng($imagepath);

That is what I have and it does not work.
 
Back
Top