- Impact
- 18
PHP - fopen with https username and password
I am making a script that opens a text file on another website, copies the info from it, and then rewrites it to a text file on my server.
However the website that the text file is coming from is a https:// protocol and also has a username and password protection, a htaccess/password thing I would assume.
So waht I need is for the script to "log in" and then get the text file. if you get what I mean.
Is there any way I can do this?
Thanks
Tom
I am making a script that opens a text file on another website, copies the info from it, and then rewrites it to a text file on my server.
However the website that the text file is coming from is a https:// protocol and also has a username and password protection, a htaccess/password thing I would assume.
So waht I need is for the script to "log in" and then get the text file. if you get what I mean.
Is there any way I can do this?
Thanks
Tom





