View Full Version : username and password

09-18-2006, 06:37 PM
ok this is not a post asking how to make them. I know how to do that I have .htaccess and maid a protected dir.

what I cant figer out how to do is put a login page on my public page that will redirect the user after thay long in to the protected dir.

usaly I wuld just use some thing like php-nuke to make a member ariea but the pages I am making have to be fairly simple as I am makeing a site for a game that can be loaded in the in-game browser. the name of the game is eve-online.

the reson I need a log on and redirect is the ingame browser dose not saport the log on pop up that you can use in a reguler browser.

The browser currently supports HTML 3.2 wich includes table support and style sheet support along with numerous other enhancements that HTML 3.2 brings. It has some support for HTML 4 tags and functions. It allows use of colors, various font attributes and sizes, tables, image maps, background images, CSS1/2 for example.

I have accesse to php, mysql, perl, cgi

so I guss what I need is just a code snipet for the logon/redirect and if the pages in the protected directory need a code snipet for seeing thar is a password.

09-19-2006, 09:20 AM
What in the name of all that is good and pretty is that browser? Come on, "some support for HTML 4 tags"?!!

Anyway: are you familiar with PHP sessions? Setting up a session, coupled to a--basic--user administration could facilitate login and protected access fairly easy.
Googling for "user login with php sessions (http://www.google.com/search?ie=ISO-8859-1&oe=ISO-8859-1&q=user+login+with+php+sessions)" should get you started on some nice tutorials/scripts.