in reply to Re: cgi problem
in thread cgi problem

Which will fail if pass or username is equal to 0. Or 0000000.

Replies are listed 'Best First'.
Re: Re: Re: cgi problem
by eoin (Monk) on Jan 04, 2003 at 23:54 UTC
    Problems are often solved with the simplest solution. Simply add an elsif statment. Hope this helps..
    E.g.
    if($whatever eq $whatever2) { #do whatever you wana do; } elsif ($what ever you want eq " "){ #Access Denied; } else{ #do whate ver you wana do here; }
    You get my point.
    All the best, Eoin...