Check other domain

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

Post Reply
ofermisk
Forum Newbie
Posts: 5
Joined: Sun Nov 26, 2006 6:07 am

Check other domain

Post by ofermisk »

Hi there,
I'm trying to read other web site content for authontication reason.
The user enters a domain and i check for offensive text.

How can i read other domain's content with php (java i know)
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Check other domain

Post by Chris Corbyn »

ofermisk wrote:Hi there,
I'm trying to read other web site content for authontication reason.
The user enters a domain and i check for offensive text.

How can i read other domain's content with php (java i know)
$page = file_get_contents("http://domain.tld");
ofermisk
Forum Newbie
Posts: 5
Joined: Sun Nov 26, 2006 6:07 am

Thanks

Post by ofermisk »

?You are too kind.... :oops:
Post Reply