Re: PHP-GTK, COM, IE, and Form Post?
| From: | Manuel Lemos | Date: | Fri, 29 Oct 2004 03:51:15 +0000 |
| Subject: | Re: PHP-GTK, COM, IE, and Form Post? | ||
| References: | 1 | Groups: | php.gtk.general php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5175@lists.php.net to get a copy of this message | ||
Hello,
On 10/29/2004 12:37 AM, Benjamin Smith wrote:
Hi all, My PHP-GTK app now needs to connect to a website in order to publish values generated locally. Part of this is to login to the remote server. However, I've been completely unable to get a form post to work (to avoid leaving the login/password on the URL in the browser history) I found some references to post with arrays and it just did NOT fly. I tweaked for hours before giving up. Below is my most recent code: Anybody ever done this? Any idea where to look?You may want to try this HTTP client class that can either use TCP socket connections or curl to post request, collect and send back (authentication) cookies and handle redirection, which is most likely what you need: http://www.phpclasses.org/httpclient -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html