Skip navigation
phpimage
Currently Being Moderated

GD image save works in pure PHP but not in ZEND PHP?

Mar 6, 2012 11:48 PM

Tags: #save #image #php

I produce an imagepng imagepng($img); that readily displays on the screen. When I try to save is as a file imagepng($img, 'save.png'); it does not save the image. When using the same program under ordinary PHP in Windows is saves the file to the folder where the program is saved under htdocs, so it must have something to do with the ZEND installation on MAC. Permissions for the ZEND folder are set to read&write. Will really appreciate cues to come around this hurdle.

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points