PHP Get Data from External Server

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
BriceHulse
Forum Newbie
Posts: 2
Joined: Tue Dec 22, 2009 11:03 am

PHP Get Data from External Server

Post by BriceHulse »

I'm trying to write APIs for my social network. I want a function that takes input for a username and password, checks it on my external server, and then sets a cookie if it is correct. Can anyone help with the API code and the external code on my social network's server? Thanks
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: PHP Get Data from External Server

Post by requinix »

You know you can't set a cookie for another site, right?

Be more specific about how the "external server" validates a username and password. And for future reference,
- file_get_contents
- cURL
Post Reply