I was looking for some ideas for projects or exercises, to help me use some of the knowledge that I know. Any ideas anyone? If anyone knows of any good sites that have some exercises for beginners, please post them.
I was looking for some ideas for projects or exercises, to help me use some of the knowledge that I know. Any ideas anyone? If anyone knows of any good sites that have some exercises for beginners, please post them.
Windows Problems: Reboot
Linux Problems: Be root
Reply With Quote 
Uh, for a beginner in PHP4? Or for more OOP in PHP5?
I presume you mean PHP4, no other "fancy" stuff.
Then you could try things like login/register scripts that with a setup (for the DB) and then a PM(private messages) feature.
By this I mean a package that will make the tables in a db (as setup) then will allow you to make a site that lets people register, then login to their accounts and let them post messages to other users. They could have an inbox as well. Then try features like reply, forward, etc.
I'm off to sigcont.com
Reply With Quote That's a pretty good Idea, kind of like a real simple message board (or messaging system). I'm not completely sure how to do all of that, but I'm sure if I get stumped you guys will be the first to know!!!
On that note, let's say I wanted to make a page in a "wiki" format (click a link/button edit the main body of a page and save it). How would I go about doing that? I figure that I'll need a template that includes a file for the main body, in the main body I would need an edit script that would have to create a temp page with a text area (including all of the text in the main body), a library for the wiki code (if I decide to use any), then a text parser that will write to the new file and delete the temp file, or vice-versa if I decide to use the temp file instead of the old file.....
Any ideas? Please only post psuedo-code so that I can figure out how to code it myself (if I need help I'll post of course), instead of posting actual code to use. Thanks in advance for any help.
Windows Problems: Reboot
Linux Problems: Be root
Reply With Quote
To do something like edit a page, I'd load the contents into a large textbox, then have a save button that updates the file.
Keep in mind, I'd only do that for me, not anyone else as that is a really easy way to have a site break. I had a script laying around that did just this, but I don't think I have it anymore, I'll look though.
EDIT: Sorry, couldn't find it.
Last edited by ddreier; 09-11-2007 at 08:37 PM.
Reply With Quote