homepage Welcome to WebmasterWorld Guest from 23.21.9.44
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
Forum Library, Charter, Moderators: coopster & jatar k & phranque

Perl Server Side CGI Scripting Forum

    
Where to learn scripting?
SanDiegoPaul




msg:3031703
 4:23 pm on Aug 2, 2006 (gmt 0)

I took over a club website that has passworded areas granted by htaccess. The page that actually *assigns* the passwords for new members does not work and I do not know how to fix it...naturally the active new members are all over me about this.

I have tested the access with my own password and that works just fine. All I need is to fix the one page that accepts the user input and adds it to the config file, I guess.

Where do I start? I know I cannot post web links but I'll post the code if somebody can tell me which area to look at.

Thank you

Paul in San Diego

 

opifex




msg:3032243
 11:18 pm on Aug 2, 2006 (gmt 0)

i'm willing to bet that the program is a stock one available everywhere. copy the files from your cgi folder and take a look at what the form is sending to the program. .pl is pretty staight forward to debug. thought that the perms might not be set? or reload the files and reset the perms ... remember that you have to uplaos in ASCII

SanDiegoPaul




msg:3033833
 4:48 am on Aug 4, 2006 (gmt 0)

If the parameters were not set, then how could the rest of the site function properly? I can log in just fine, as can others that already have a PW.

New members though cannot get a password to work.

opifex




msg:3033847
 5:29 am on Aug 4, 2006 (gmt 0)

what is the .pl you're using... some have separate parts .... such as the old favorite with htpasswd.cgi , register.cgi and logon.cgi ....
maybe only register has the prob since old users can enter?

SanDiegoPaul




msg:3039259
 9:48 pm on Aug 8, 2006 (gmt 0)

There's an acctman.pl configured by a config.pl

The only real editable regions are set up correctly; file locations and such. I'm really confused!

So back to my original question: Where can you learn this stuff? (sorry)

opifex




msg:3042071
 1:28 am on Aug 11, 2006 (gmt 0)

you have to really be into the code ... some are ... some aren't ....
not sure if they are still around, but the "perl monks" used to have a really good site with lots of help for the novices. Some books and tutorials are also available on the subject ... check perl org and others. perl is open source. hope this helps
very few actual "classes" are available, but check with a local technical school.......

MichaelBluejay




msg:3043684
 7:55 am on Aug 12, 2006 (gmt 0)

Are you sure your usernames/passwords file is a "config" file and not an .htpassword file? What is the last modified date of that file? Does that file contain any entries? Does it contain entries for those new members who say they can't get in? At this point we don't know whether the problem is that the registration program isn't writing the new usernames & passwords to the file, or if the usernames & passwords are being written correctly but the login program can't see or can't access that file for some reason.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved