Retrieving PHP information from another site?

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
Dale
Forum Contributor
Posts: 466
Joined: Fri Jun 21, 2002 5:57 pm
Location: Atherstone, Warks

Retrieving PHP information from another site?

Post by Dale »

Say for example a site (http://www.site1.com) has a value on there called $site1posts which has a value of... 911. Is it possible for me to read from that file in PHP? (Even if they CHMOD it to 0777?)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you won't be able to read it as the php file would be on the server, unless they don't parse php files.
Post Reply