Originally Posted by Redcoder
For the log-out script, you only need to clear sessions and cookies...that is if you use sessions or cookies to validate a user.
You can then add stuff like time-stamp for the time he logs out so that that will be the last time the user was logged in.
You cannot just copy paste different scripts into a system and expect them to work. Learn the fundamentals behind them and you can make your own systems independently and it will be easy for you to debug them.
Not to sound like a complete *** but my options are limited then?
1.) don't do it at all.
2.) find a script that works as is and hope nothing bad happens.
3.) spend money to hire somebody to do the project.
The only option that make sense to me is find a sample script and ask for advice on tweaking the code, as I can learn. Options 1 & 3 wont do me a bit of good since I wouldn't be doing anything with the code. And I could have simple posted a bunch of and asked for advice like I wrote and never mentioned the fact it was sample code..
As far as learning the fundamentals. I have been doing that with php. MySQL on the other hand I never truely got the hang doing databases from scratch, thus I can't learn the fundamentals due to it all being greek to me..