Re: Problems with a PostToHost()-function

From: Date: Sun, 23 Jul 2000 02:02:50 +0000
Subject: Re: Problems with a PostToHost()-function
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-7744@lists.php.net to get a copy of this message
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); > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > > For additional commands, e-mail: php-general-help@lists.php.net > > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#7744) next »