I am trying to execute DOS command with the function system()
$res=system("c:\Program Files\ImageMagick-6.2.8-Q16\convert.exe"
"x:\web\tmobile-jpg-generator\top_nav.gif"
-density 288 -fill #666666 -font Arial -pointsize 13 -background #ffffff label:"dimov" -resize 80%"x:\web\tmobile-jpg-generator\smile.gif",$retval)
I am running PHP on Apache (Windows)
When i try to execute the same command directly in DOS it is OK
Is there some other function for executing commands??
problems with system() function
Moderator: General Moderators
-
Zoran_Dimov
- Forum Newbie
- Posts: 16
- Joined: Wed Jun 21, 2006 6:10 pm
- Location: Macedonia
- Contact: