PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
punctweb
Forum Newbie
Posts: 11 Joined: Mon Aug 30, 2004 5:53 pm
Location: Romania, Tulcea
Contact:
Post
by punctweb » Mon Aug 22, 2005 4:01 am
Hello.
How do i prevent/block access to an script if someone uses fsockopen() ?
timvw
DevNet Master
Posts: 4897 Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium
Post
by timvw » Mon Aug 22, 2005 5:49 am
You can't, from a server POV they all use a tcp/ip socket.
anjanesh
DevNet Resident
Posts: 1679 Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India
Post
by anjanesh » Mon Aug 22, 2005 5:49 am
I once came across this situation where the host had all url wrappers disabled.
I had to use CURL.
AnarKy
Forum Contributor
Posts: 119 Joined: Tue Nov 02, 2004 1:49 am
Location: South Africa
Post
by AnarKy » Mon Aug 22, 2005 5:57 am
anjanesh wrote: I once came across this situation where the host had all url wrappers disabled.
Why would they do this?