Re: Problems with a PostToHost()-function

From: Date: Sun, 23 Jul 2000 04:04:20 +0000
Subject: Re: Problems with a PostToHost()-function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-7751@lists.php.net to get a copy of this message
The cURL project allows all sorts of trick stuff like https and cookie support. Check out http://curl.haxx.se/ MikeA - Thanks for the tip. This ROCKS. David Perry On Sat, 22 Jul 2000, Charles Killian wrote: > Date: Sat, 22 Jul 2000 19:02:50 -0700 > From: Charles Killian <Charles@AlcatrazDesignGroup.com> > To: php-general@lists.php.net > Subject: Re: [PHP] Problems with a PostToHost()-function > > I'm not sure. > > How would you grab the cookies a web site has set and send it back to the > server? > > Charles > > ----- Original Message ----- > From: "Sascha Endlicher" <webmaster@teendate.de> > To: <php-general@lists.php.net> > Sent: Saturday, July 22, 2000 4:44 PM > Subject: Re: [PHP] Problems with a PostToHost()-function > > > > Hi again. > > I completely forgot that topica sends me a cookie after I log in. > > Is there any solution to get around this? > > Thanks > > Ciao > > Sascha > > > > ""Charles Killian"" <Charles@AlcatrazDesignGroup.com> schrieb im > Newsbeitrag > > news:000f01bff430$ca2d7ed0$44790fd8@orange... > > > I'm guessing here but you might try: > > > > > > $url = > > > > > > > "http://www.topica.com/lists/online-talks.de-english/importsub.pl?digest=f&S > > > ubmit=Submit&sublist=dummy@online-talks.de&invite=OPTOUT"; > > > > > > $file = fopen("$url", "r"); > > > > > > #display what is sent back: > > > while(!feof($file)){ > > > $line = fgetss($file, 255); > > > print ("$line <br>\n"); > > > } > > > fclose($file);

« previous php.general (#7751) next »