Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
hey i want to know how can i write a program (php,Perl ,python,... language is not important )
to fill in the HTTP authentication required field's automatically made by php header() ) automatically.
you can see one [here]

username: test
password:test
Posted

1 solution

First the language you listed are server side programming languages . ( I know some can be used for local scripting).

Second, your example link is returns status code401 (Authorization required). Your browser in turn displays the dialog for you to enter authentication credentials (username/password).

I don't think you can fill that box automatically. Of course you could comeup with some form filler application, but that will be browser specific implementation and it needs to run on the client machine.
 
Share this answer
 
Comments
Espen Harlinn 18-Jan-11 12:17pm    
5+ Good answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900