For example there is a input option in a certain website like example.com in the following HTML format:
Password: [INPUT TEXTBOX FOR TYPING IN PASSWORD]
Question:
-I wanna log into it through an external PHP script, how is it possible ?
More explanation:
A php script which types the password automatically into that example.com password field and retrieves data from there so that I can use that data in the php code.
Main purpose:
I wanna read an HTML file from example.com but it requires a password for accessing the data, so I wanna make the PHP script such that it logins first and then retrieves that data.