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
[EMAIL PROTECTED]


>> -----Original Message-----
>> From: Anonymous [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, November 26, 2003 11:38 PM
>> To: [EMAIL PROTECTED]
>> 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" <[EMAIL PROTECTED]> skrev i melding
>> news:[EMAIL PROTECTED]
>> > 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
>>
>>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to