brentnewbury
Programmer
Hi everyone,
I was testing my new user authorisation and details script and found a small but fatal bug. I could just input a space as my username and password. So I found a little function to do the job, but it didn't. The script was:
Replace(Request.Form("username", " ", ""
and it came up with this error:
Microsoft VBScript compilation (0x800A0414)
Cannot use parentheses when calling a Sub
/login/signup.asp, line 2, column 43
Replace(Request.Form("UserEmail", " ", ""
-------------------------------------------------^
I don't have a clue what this means and all, but if someone could tell me where I'm going wrong, or suggest a new script. All I want to do is takeout or notify the user of invalid chars like scace and the '.
Thank you for your time,
Brent Newbury
I was testing my new user authorisation and details script and found a small but fatal bug. I could just input a space as my username and password. So I found a little function to do the job, but it didn't. The script was:
Replace(Request.Form("username", " ", ""
and it came up with this error:
Microsoft VBScript compilation (0x800A0414)
Cannot use parentheses when calling a Sub
/login/signup.asp, line 2, column 43
Replace(Request.Form("UserEmail", " ", ""
-------------------------------------------------^
I don't have a clue what this means and all, but if someone could tell me where I'm going wrong, or suggest a new script. All I want to do is takeout or notify the user of invalid chars like scace and the '.
Thank you for your time,
Brent Newbury