I have a php program running on CentOS and require to call firefox using exec for plug-in activities, however it seems the system did nothing while calling the command by exec (e.g. exec("firefox -saveimage http://www.yahoo.com
")), I'm sure the command can run thru terminal, is it related to rights issue?
I have find some documents about "sudo" but no help... can you guys help to list out a detailed steps for such setting? Thanks a lot!