in reply to Display the data passed from php
Usually CGI scripts are placed in cgi-bin directory (with 755 access rights).
So your form must look like
<form method="get" action="/cgi-bin/mail_contact.pl" onsubmit="return +validate()">
Also don't forget to add
in the first line of your script (to tell server where the perl is)#!/usr/bin/perl -w
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Display the data passed from php
by sandy1028 (Sexton) on Aug 20, 2007 at 09:11 UTC | |
by Gangabass (Vicar) on Aug 20, 2007 at 10:05 UTC | |
by sandy1028 (Sexton) on Aug 20, 2007 at 10:32 UTC |
In Section
Seekers of Perl Wisdom