Re: Sending username/password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2008-09-05 at 15:01 -0500, Jay Moore wrote:
> Greetings list!
> 
> Is it possible (and if so, how) to send username and password 
> information to a website with PHP?
> 
> I would like to submit some information to some network devices we have, 
> but they require login credentials to proceed.  I would like to bypass 
> the traditional username/password prompt so I can automate the procedure.
> 
> I hope this makes sense.

If you mean http auth style login information then you do the following:

    http://www.somedomain.com:user@password/the/path/to/resource.html

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux