Jump to content

system(), exec(), shell_exec() problem


Kower

Recommended Posts

ive problem with executing commandline program mogrify with these functions
i tried exec on dir and it works fine
i also tried exec on .sh script and it also executes but dont run mogrify from it :(
ive put echo behind mogrify and that was dispalyed so i know script was executed
of course mogrify binary had permissions set on 777
so can someone tell me where can be problem?
i think it can be some security problem but dunno exactly.
thx.
Link to comment
https://forums.phpfreaks.com/topic/3878-system-exec-shell_exec-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.