Thanks very much for your reply weedpacket.
That was indeed the problem, but there are bunches more aside from that, so I'm not using it.
My problem is that the tutorials I'm finding are mostly advanced and many require modules that aren't standard, or later versions of PHP or MySQL.
I'm trying to write a script that will work on most any server, so I'm trying to find a simple login script that doesn't require these things. Unfortunately, the tutorias and code at Codewalkers are mostly like the one I was trying to use, out of date and poorly written(if I'm fixing stuff in it, it's REALLY bad).
Thank you guys very much for your time. I'm sorting through the Google results until I find something I can use.
thanks,
json