In my php code, I use system() command to call external program, which will fetch data from another web service. Although I have set the proxy in the Internet Connection, it seem not to use it.

If I call the external program by calling from command line, it runs just all right. Running on Windows 7.

Is there any solution for this case?

link|improve this question
I am not sure about windows, but is PHP script executed under same user as you execute program? Because if not, proxy may not be used. – Ency Apr 27 '11 at 13:23
Is the proxy really needed or are the services just not offered on the default external port? – s4uadmin Apr 27 '11 at 13:24
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.