Page 1 of 1

preventing fsockopen()

Posted: Mon Aug 22, 2005 4:01 am
by punctweb
Hello.

How do i prevent/block access to an script if someone uses fsockopen() ?

Posted: Mon Aug 22, 2005 5:49 am
by timvw
You can't, from a server POV they all use a tcp/ip socket.

Posted: Mon Aug 22, 2005 5:49 am
by anjanesh
I once came across this situation where the host had all url wrappers disabled.
I had to use CURL.

Why would they do this?

Posted: Mon Aug 22, 2005 5:57 am
by AnarKy
anjanesh wrote:I once came across this situation where the host had all url wrappers disabled.
Why would they do this?