Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Regular Coder
    Join Date
    Jul 2007
    Thanked 0 Times in 0 Posts

    Php client tutorial?

    Does anyone know where I could find a basic php client tutorial?

    Eg: I have a website, and I want to allow a user to login to another website via my php script so they can retrieve their data with my script. I already use fopen to do kinda the job without a login, but I kinda need it to be better now.

    Basically, I want the user to be able to login, and get the content... A subscription RSS feed on another website that requires them to login.

    I guess I would want to do a cross-website post request to the login, but how do I keep my php script logged with how websites have cookies and sessions?

    if ($f = @fopen("$url", 'r')) {
    	$content = '';
    	while (!feof($f)) {
    		$content .= fgets($f, 4096);
    //My parsing script is below. V
    Last edited by iceflyin; 11-19-2007 at 10:07 AM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts