bob, i am using fastcgi and anytime i use exit, the script exits from memory. at least that is what my logs say...
matt > -----Original Message----- > From: Bob Showalter [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 3:56 PM > To: 'Boex,Matthew W.'; '[EMAIL PROTECTED]' > Subject: RE: exiting correctly > > > > -----Original Message----- > > From: Boex,Matthew W. [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, April 23, 2002 3:24 PM > > To: '[EMAIL PROTECTED]' > > Subject: exiting correctly > > > > > > > > i have a regex that checks for a string in a param, if not > > found, it should > > jump to an error subroutine. from there, i print out "this > > is an error", > > etc. after that prints, unless i have an "exit" to stop the > > processing, the > > sub jumps back and prints out what i don't want it to. how > > can i end the > > cgi at that point without calling exit? > > use exit(). Why don't you want to use exit()? > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]