NYCPHP Meetup

NYPHP.org

[nycphp-talk] login window snippet

leam leam at reuel.net
Sat Apr 24 07:26:52 EDT 2004


I'm setting up an editor so the site owner can write his own web pages. 
I'm trying to move slowly because any of this seems likely to open op a 
security hole and it's a shared host. I don't wanna make any mistakes.

Anyone have a login (log in, log-in) snippet that will protect this one 
page? The site does have mysql so I can use a user table if needed.

The idea is that the owner could hit this page, authenticate, and then 
write a file on the site. At the moment he's not able to chose a file 
name, that involves a security question later.  :)

Any help appreciate!

leam




More information about the talk mailing list