Page 2 of 2

Posted: Sun Oct 05, 2003 9:07 am
by JAM
Check if using http://login:pass@url works. I doubt it, but...
Using headers()?

Posted: Mon Oct 06, 2003 5:16 am
by Nay
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

Posted: Mon Oct 06, 2003 8:18 am
by jason
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.

Posted: Mon Oct 06, 2003 9:23 am
by Cruzado_Mainfrm
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?

Posted: Mon Oct 06, 2003 9:26 am
by Cruzado_Mainfrm
or wait a minute, if i make the script, what else should i look for? i know phpbb(cuz i've used it before u know...)

Posted: Mon Oct 06, 2003 9:37 am
by Nay
Well, The number of unread posts and number of private messages in the inbox, and the number of private messages that are unread.

You think you can manage?

btw, Is this the script of Jason to modify and upload or that cURL thing we're both confused about? lol

-Nay

Posted: Mon Oct 06, 2003 9:46 am
by Cruzado_Mainfrm
i think cURL is to difficult for me right now, i'd rather study the cURL extension at glance first :D