Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 01-07-2007, 09:14 PM   #1 (permalink)
 
Newb Techie

Join Date: Jan 2006

Posts: 39

smartydebater

Cool In need of Perl Help

Hi, I'm starting to make a Perl script that will authenticate users for my website (every page that a user tries to access.)(I do have full CGI access on my server.) Basically this is what I want the Perl script to do:

1. Check a database of users compare username and password to one entered in login form.

2 Also check account level. (Make sure that the user has access to the directories he/she is trying to access.)

3. Keep the user logged into the website using cookies

My problem is that I really don't want to use HTTP Authentication to get the job done. (Should I? Or do I have to use HTTP Auth?) I believe in my case I would want to use cookies and Perl because I have extremely specific things I want to do, but I don't understand how Perl can read cookies to authenticate a user and stop it once it was authenticated from accessing a private directory.

So if anyone would help outline what I need to do or give me a website that will help me that'd be great.

Yes, I am a begginer (if even that) to Perl.
If you need anything more specific just ask!
Thanks!
smartydebater is offline  
Old 01-07-2007, 11:37 PM   #2 (permalink)
 
Super Techie

Join Date: Oct 2006

Posts: 263

penfold

Default

Why perl? I've found that php is MUCH easier to use than perl. I've done both and much prefer php.
__________________
---
penfold

www.futurelooks.com/
www.megatechnews.com
penfold is offline  
Old 01-08-2007, 06:08 PM   #3 (permalink)
 
Newb Techie

Join Date: Jan 2006

Posts: 39

smartydebater

Default

Well, I've done a small amount of work in each and what I don't like about php is how it actually goes into your html page's coding. I know that it gets executed on the server before it reaches the client but I find it annoying when writing my html. And I just like the sheer power of perl.
smartydebater is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On