Re: HELP? HTTP HEADER GURUS etc?

From: Date: Fri, 23 Mar 2001 09:28:14 +0000
Subject: Re: HELP? HTTP HEADER GURUS etc?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-45258@lists.php.net to get a copy of this message
Try out cURL. I think it will work for java and C aswell: http://curl.haxx.se It does posts and handles cookies and more. // Tobias "brunatex" <brunatex@hotmail.com> wrote in message news:3ABA9A81.FF9CCABE@hotmail.com... > > Hello, > > Not sure if this is exactly focused on PHP, but i thought some of you > guys might know. > > The general problem: > I want to be able to send SMS messages from my computer using one of > the free SMS services. > I want to be able to do this without logging on each time - i.e. > from a program (eiither C or java or the like). > > In essence, the problem is to get a program to 'Log In' to a site, and > keep the user 'Logged In' (by sending cookies with > each request i presume..) > > So the 2 questions are: > > 1. how do i send a POST query (containing login details) to a page? > (if it were GET, i could just append to the URL, how do i do it with > POST?) > > 2. once i have sent this (correct) login, i will receive back a > cookie. I can store this, but need to know how to send it back with each > request? (in the header somehow i presume..?) > > Thanks in advance, > > Jonathan > > > -- > 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 (#45258) next »