Link to home
Start Free TrialLog in
Avatar of hostsol
hostsol

asked on

fopen vs fsockopen

I am performing a GET request from my server. I want to know whether fsockopen or fopen is better. Please give reasons in terms of speed and other aspects.

Thank you very much.
ASKER CERTIFIED SOLUTION
Avatar of spookje
spookje

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of spookje
spookje

Just a little remark, using fopen, you can append the GET
variables to the end of the url - same as when you send
the GET request by hand using a socket.