Sign in:
Username:
Password:  
»Forgot your password?

Home | Forum | How to Protect Your Web Form | How to Protect Your Email | Sign Up

Insure yourself from spam! The Anti Spam Insurance Company - ProtectWebForm!

Forum - perltip - don't use CGI::Carp qw ( fatalsToBrowser );

PostMessage
typomaniac101
2009-08-04 04:45:30
If you are using perl to process your form don't use CGI::Carp qw (
fatalsToBrowser ); ----if the user enters the wrong code it will
produce a software error in the user's browser. If you use it for
troubleshooting your formscript be sure to either remove it or
#comment it out.
typomaniac101
2009-08-04 04:55:38
btw--THANX for the free service. Saved me a bunch of work. Also--even
if someone manually spams a way out is to save the form results in a
holding(temporary) file and manually approve them if your traffic
isn't to insane.
markandreson
2010-04-21 23:29:17
CGI scripts have a nasty habit of leaving warning messages in the
error logs that are neither time stamped nor fully identified.
Tracking down the script that caused the error is a pain.

You need to install and use CGI::Carp module.

With this module the standard warn(), die (), croak(), confess() and
carp() calls will automatically be replaced with functions that write
out nicely time-stamped messages to the HTTP server error
log.[url=http://www.ccnaexamquestions.com]ccna[/url]
You can also log message to a browser. Now add following two lines
before sending any headers to a browser:






Post Reply:

You must be logged in to reply.
Post message
Name: 
Email: 
Url: 




Registered users: 87996

Forms protected: 48551

Further Reading & Anti Spam Resources:

Directory


    ©Copyright 2006 ProtectWebForm.com. All rights reserved. Read our Privacy Policy

Page copy protected against web site content infringement by Copyscape