Check if using http://login:pass@url works. I doubt it, but...
Using headers()?
Home Page
Moderator: General Moderators
I tried with http://Nay:password@forums.devnetwork.net/portal.php - well It didn't work LOL. Anyhow, I don't really understand using headers, what do you mean?
-Nay
-Nay
cURL is what you need here, as cURL groks URLs. =) Basically, it's the built in web browser for PHP, a web browser you can program. It can handle cookies and what not, and can be used to login for you. It's actually some pretty cool stuff.
However, if you are going to have cURL handle your stuff, you are goign to want to set it on a cronjob if you are running linux. Otherwise, you might was well just point your browser here.
However, if you are going to have cURL handle your stuff, you are goign to want to set it on a cronjob if you are running linux. Otherwise, you might was well just point your browser here.
-
Cruzado_Mainfrm
- Forum Contributor
- Posts: 346
- Joined: Sun Jun 15, 2003 11:22 pm
- Location: Miami, FL
jason can you give us a little help and make a script that says if we have new messages? like the page will be:
pmchecker.php?username&password=*****
and it will check in the database if there are new pms for this user
i can make the script and u change the database variables and stuff, what do u think?
pmchecker.php?username&password=*****
and it will check in the database if there are new pms for this user
i can make the script and u change the database variables and stuff, what do u think?
-
Cruzado_Mainfrm
- Forum Contributor
- Posts: 346
- Joined: Sun Jun 15, 2003 11:22 pm
- Location: Miami, FL
-
Cruzado_Mainfrm
- Forum Contributor
- Posts: 346
- Joined: Sun Jun 15, 2003 11:22 pm
- Location: Miami, FL