Creating file using PHP imagepng function in Openshift -


i use imagepng() save image using php. work fine in hosting, can't make work in openshift redhat.

imagepng($rimg, 'myimg.png');

i tried save directory , give permissions (chmod 777) directory didn't help. tried add prefix of dirname(__file__) path didn't work , can't create image file. know file has not been created because searched in server , didn't find anything. there way create image file using imagepng() in openshift?


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -