Hello

I am having problems with php on a windows server. Basically i want to execute this:

PHP Code:
exec("c:\firefox\firefox.exe -savepng http://www.advantiscript.com"); 
When i run this script from command line, it works fine and returns headers. However, when executing from web i get:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers