Gossamer Forum
Home : Products : DBMan : Customization :

A line of Code Please?

Quote Reply
A line of Code Please?
Hi JPDeni..a line of code if would be so kind?
I want to check a Password against a log.txt
in a difference directory...this is my unsucessful attemp below..could you critique it..thanks Rob

unless (-e "/home/anyone/public_html/somewhere/place/$FORM{'PASSWORD'}.txt") {
print "OOPS! You're Not Registered. You must Register a User Name First!\n";
}
Quote Reply
Re: A line of Code Please? In reply to
This is when they log in? If so, use

$in{'pw'}.txt

instead of

$FORM{'PASSWORD'}.txt

If this isn't what you need, I'll need a little more info.

------------------
JPD