Re: Preventing unauthorized use of a CGI script

2006-02-07 Thread David Dorward
On Mon, 2006-02-06 at 22:28 -0600, David Gilden wrote: Just wanted hear opinions on how effective this is, as way of preventing email relaying stoping unauthorized use my script. This from a script that connects a form page to sendmail my $referer = referer; # what page called the

Matching a string containing '+'

2006-02-07 Thread Sara
Using this query in my Perl Script to find the Category title from the database given as: C_and_C++/Forums C_and_C++/Codes C_and_C++/Sites etc. my $sql = qq(SELECT CAT_TITLE, FROM categories WHERE CAT_TITLE REGEXP '^C_and_C\\+\\+/[a-zA-Z|_]+\$' ) $query = $dbh - prepare ($sql) or die Couldn't