RE: [PHP] PHP script that fills forms ?
| From: | Nigel Jones | Date: | Wed, 26 Nov 2003 10:56:38 +0000 |
| Subject: | RE: [PHP] PHP script that fills forms ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171024@lists.php.net to get a copy of this message | ||
If it's protected by the PHP Auth or htaccess I think you can pass User/Pass
via the headers
Anyone know for sure?
_________________
Nigel Jones
njonez@ihug.co.nz
>> -----Original Message-----
>> From: Anonymous [mailto:catchall@catpat.com]
>> Sent: Wednesday, November 26, 2003 11:38 PM
>> To: php-general@lists.php.net
>> Subject: Re: [PHP] PHP script that fills forms ?
>>
>>
>> Well, you see. I didn't mean it that way. I meant PHP to fetch a website.
>> The website is password protected and you need to fill a form to
>> access it.
>> So I would like PHP to fill that form for me. Would that be possible? Are
>> there any other solutions?
>>
>> "Sophie Mattoug" <sophie@sitadelle.com> skrev i melding
>> news:3FC48116.5040805@sitadelle.com...
>> > Anonymous wrote:
>> >
>> > >I was just wondering if it's possible to get a PHP script to
>> fill a form
>> for
>> > >you? You see, I'm trying to make PHP fetch a password
>> protected website
>> for
>> > >me and there's a form with username and password that protects it.
>> > >
>> > >Can anyone help me? Perhaps give me another sollution?
>> > >
>> > >
>> >
>> > echo '<input type="text" name="name" value="' .
>> > $value . '">";
>>
>> --
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>