Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
Replying to Need To Discuss Ideas On Creating A Members Area
Posted 17 August 2005 - 09:29 AM
Actualy I am starting my design already and I have decided to use PHP after 3 days of reading the whole book PHP is not security risk unlike CGI-PERL which could wreck havoc on the server machine. And besides PHP has a wonderful support on MySQL. I hate creating my own database too much work, accessing files, retrieving and parsing data.
Anyway, thanks guys. By the way I prefer the session method in PHP in creating a members area since it can work even if cookies are off in the client browser.
Afteri finnished my site, I need you guys to evaluate my
Posted 17 August 2005 - 07:47 AM
If you are going to be dealing with text-based system, PERL is the way to go.
Recently I've gone back to perl for a project. Sad thing is I used to know PERL extremely well when it was really the only way of creating dynamic sites on the web back in 1995/1996. Installed a number of simple PERL shopping carts back in the days when I used to do more web programming.
The main reason why I am using PERL is because the form is on a webserver hosted by our ISP and it needs to pass back information to a server on our internal network. PERL is executed server side so that makes the most sense.
Posted 09 August 2005 - 12:07 PM
Posted 09 August 2005 - 08:56 AM
Posted 08 August 2005 - 12:13 AM
Best of Luck!
Posted 07 August 2005 - 07:27 PM
A word of advice: don't use the cgi.pm module to set and check cookies. It is overly clunky and cookies are easy enough to deal with anyway. If you have any cookie questions in perl, I can answer them easily, and I even have a login perl page that I can let you look at.
Posted 04 August 2005 - 09:18 AM
Hmm, do you know PHP?
honestly dont know anything about PHP although my friends said its good but i havent find a time yet to learn the language or should I say script. The only reason I use CGI becuase its the only think I know on how to process forms.
Should I then learn PHP?
Posted 02 August 2005 - 02:15 PM
Posted 02 August 2005 - 06:20 AM
This is more likely a discussion not a tutorial. Its my idea of creating a members area in a website using the CGI - Perl and cookies. I am sharing this so that people out there who have more knowledge about this technique will be able to share their idead about this and they might be able to correct errors or maybe offer an alternative design or approach in solving the problem.
Anyway... so here it is..
Every pages that is for members only will query or look into the cookies available for the page. The cookie will tell the broswer whether to display the member page or redirect to another url.
But of course before this happens there must be a page with a form where user will type there member name and password. Then whatever the user typed is sent to a cgi program that test whether the password and user name is valid. If it is valid then it will send a cookie (like for example access=member) to the browser, if it is not then it would tell the user that he/she may have typed the wrong password or user name or something like that.
So here is my question to those who are expert on this thing.. does this kind of design works for me?
Although the site will contain members area page only but there is no very important data into it. It is a site for online gaming where members are the guild members. So I realy dont need serious security. I believe hackers out there can hack the site. But I think they have a little or no interest at all to the site for its content are not valuable to them.
I hope to those experts out there will share some of their ideas about this approach and they might be able to give an alternative way in creating a members area pages in a website.