I need to call another program that connects to an webserver and gets a webpage, as that server need the agent to be InternetExplorer [ i.e. "Mozilla/4.0 (compatible; MSIE 4.0; Windows NT)" ]. now when I try to execute it ( exec(), system(), backticks ) whatever i try it hangs, but doesn't start download. but it is in the Processes (both cmd.exe and the other prog) and when killing cmd, script continous normally, but without having downloaded the data. when executing the same command from commandline, it works. something i noticed is that the user running the program is the SYSTEM when started from PHP and my name when I enter it in commandline... is there perhaps a way to have php execute the command as me?
or what would be even better, is there a way to define the agent php auths with when connecting to a http server?