Archive of UserLand's first discussion group, started October 5, 1998.
scriptError (
Author: larry curtin Posted: 9/22/1999; 10:09:17 AM Topic: DG security Check Msg #: 11346 (In response to 6246) Prev/Next: 11345 / 11347
The script below produces a [Macro error: !redirect http://someurl]. I'm using 6.1b2 on an NT boxlocal (pta = html.getPageTableAddress ());
referer = pta^.requestHeaders.referer;
if referer != "http://someurl/index"{
scriptError ("!redirect http://someurl/")};
local (adrForm = @pta^.postArgs); //get the address of the form data
password = adrform^.password;
mailaddress = adrform^.mailaddress;
if password != "tires99" {
scriptError ("!redirect http://someurl/")};
if not (mailaddress contains "@") {
scriptError ("!redirect http://someurl/")};
local (domain = string.nthfield (mailaddress, '@', 2));
if not (domain contains ".") {
scriptError ("!redirect http://someurl/")};
htmltext="Secure Site
";
return(htmltext)
There are responses to this message:
- Re: scriptError (, larry curtin, 9/22/1999; 11:40:45 AM
This page was archived on 6/13/2001; 4:52:46 PM.
© Copyright 1998-2001 UserLand Software, Inc.