Page 1 of 2
Home Page
Posted: Sun Oct 05, 2003 1:58 am
by Nay
Hey, I just downloaded Mozilla - after being convinced from time to time by PHPDN-ers lol. Anyhow, I just thought of an idea. I want to make a home page for the browser. I can host it on my local disk, so It'll load fast(er).
I want to be able to read how many messages I have, how many new posts there are on PHPDN, links to my favorites etc etc.
Other than the links, are the other two possible with PHP?
-Nay
Posted: Sun Oct 05, 2003 2:15 am
by JAM
Well, yes. fopen() & Regexps... My only concern is what happens with the login/password part of it.
There is an addon for the phpbb that generates rss feeds, that also might be interesting, but I guess that is something Jason (or others) needs to hack into the boards code.
Posted: Sun Oct 05, 2003 2:34 am
by Nay
fopen() what file do you suppose to open? mMm
-Nay
Posted: Sun Oct 05, 2003 2:41 am
by JAM
Posted: Sun Oct 05, 2003 2:52 am
by Nay
mMm, I was thinking of having a hidden iFrame that goes to this page, then use Javascript to like get the innerHTML of the DIV with "View posts since your last visit".
But then that's the same as loading the page, so it won't make so much difference in speed. How about the e-mail thing? Can PHP connect to a external POP3 server?
-Nay
Posted: Sun Oct 05, 2003 2:58 am
by JAM
Yup.
http://www.evilwalrus.com/viewcode.php?codeEx=740
This topic is interesting, so please do let us (me) know what happens as I'd like something similiar, but time isn't on my side atm.
Posted: Sun Oct 05, 2003 3:15 am
by Nay
Sure will! I'm about 1/2 finished on planning to start this project. I won't make a single page thing, I'm making a form and all that to dynamicly generate the page for other users who'd want it.
But the user would have to have a server running PHP installed on their computer if they want to use it. I don't think this is much of a problem for PHPDN peopl lol. Anyhow, It's aimed at PHPDN people. Quite convenient actually.
I'd wait for more input from other PHPDN members before actually starting though I have more or less of an idea how I'm going to go about it.
-Nay
Posted: Sun Oct 05, 2003 3:22 am
by Nay
And also,
http://pulse.whatnet.org/stats/profile.php?uid=1945
If you have a WhatPulse account or someone you want to keep track of, I think you'd be able to do it using that. But then, I'm still 0% on even an idea of extracting content from an external page.
-Nay
Posted: Sun Oct 05, 2003 3:25 am
by JAM
There was earlier a suggestion to make a CSS only topic on this board. I'm thinking that there perhaps should be a "PHPDN users combined efforts section".
Reason?
"PHP-Normal" is for me a support forum more or less. Discussing projects, does that really belong there?
We could take it privately by mail or similiar, but then ideas and comments from the rest of the PHPDN community will go wasted.
If anyone else reading this thinks it's a good idea, perhaps it's a new topic in the "Suggestions" area...
Posted: Sun Oct 05, 2003 3:32 am
by Nay
Yeah, I agree though. I'm merely asking for support here. I need more input from people's opinions rather than scripts. Scripts should come when I really start writing it

.
Anyhow, I'll post a topic in the suggestions area. See what the admins have to say about it

.
-Nay
Posted: Sun Oct 05, 2003 3:40 am
by JAM
Not messing with you, it's just that someone else (Cruzado?) have interesting projects going on with socket programming (Shoutcast, Q3/Halflife/UT server).
Being fairly advanced topics it might scare of the ones that perhaps is not that experienced, so they wont ask their "is asort() good for this array"-questions...
Posted: Sun Oct 05, 2003 3:46 am
by Nay
Yeah, I know him. He's got some nice projects. I also host him on my domain

. Anyhow, imho, I wouldn't consider this topic to be so advanced, you?
-Nay
Posted: Sun Oct 05, 2003 3:53 am
by JAM
Perhaps not, youre right. But the idea posted in the Suggestions area is interesting. I'll end this particual discussion untill some questions about the original topic is asked/commente on. =)
Posted: Sun Oct 05, 2003 7:35 am
by Cruzado_Mainfrm
maybe you can load the page using file(), like file('
http://www.blabla.com/myfile.php');
and it will load every line in a array, then you read the line where it says 'You have no new messages' for example... then u know u don't have new messages and stuff...
Posted: Sun Oct 05, 2003 8:18 am
by Nay
Okay, the file() was a huge jump. It works nicely. I can use the arrays to do the work. Anyhow, like JAM said, the log in issues.
How would you overcome this anyway.......cookies?
-Nay