Re: Calling IE for a form POST
| From: | Christian Weiske | Date: | Tue, 19 Jul 2005 19:11:59 +0000 |
| Subject: | Re: Calling IE for a form POST | ||
| References: | 1 2 3 4 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6077@lists.php.net to get a copy of this message | ||
Hello Benjamin,
> I'd like to use the form post to pass the login credentials in a manner hidden
> from the user, so that I'm not littering a browser's site history with
> usernames and passwords, etc.
IMO you could do the authentication (POST, GET, whatever) with the
php-gtk app, which receives a session ID if the login was successful.
After the app got the session id, just call the browser with
"http://whateverurl.this.is/start?id=bla"
and that's all.
The problem with starting browser:
I created a class allowed you to open any file (and URL), selecting the
right program automatically - so the default browser in our case. This
works on windows and linux (KDE and Gnome, others probably not), it
should work on macs as well - but I haven't had one to test it.
The URL is
> http://www.cweiske.de/pear.htm
the package is File_Launcher. You can install it directly with "pear
<filename>".
Regards/MfG,
Christian Weiske
--
XMMS is playing now:
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc