Sunday, April 4, 2010

Mail Form - Perl / CGI

Hey Guys



I have set up a file named form.php but I get the following
error message when I submit a form:




Method not Allowed


The requested method POST is not allowed for the URL
/form.php.




Why is this? I have used the famous
http://boaddrink.com PHP script.



Any replies would be greatly appreciated.



Thanks =P .Mail Form - Perl / CGI
...I have scouted google and not found an answer.Mail Form - Perl / CGI


''ForensicBop'' %26lt;webforumsuser@macromedia.com%26gt; wrote in
message

news:fga3ml$ivs$1@forums.macromedia.com...

%26gt; Anybody?



You may need to wait more than 6 minutes for a very specific
question like

this.





--

Patty Ayers | Adobe Community Expert

www.WebDevBiz.com

Free Articles on the Business of Web Development

Web Design Contract, Estimate Request Form, Estimate
Worksheet

--










%26gt;
Method not Allowed

%26gt;
The requested method POST is not allowed for the URL
/form.php.




url address to the form page?



What shows in the browser when you put the script's location
into the

address bar?



Does your hosting allow php??



--

Alan

Adobe Community Expert, dreamweaver




http://www.adobe.com/communities/experts/









Click here for link to
page.



The script is displayed when you put the location in the
address bar.



My hosting server is Linux based so I take it that means
PHP/mySQL?



...and thanks for your help! :)




%26gt; The script is displayed when you put the location in the
address bar.



Exactly. The script file is displayed as text. It's not
processed as php.

If it was processed as php, the script would display a notice
that it wasn't

send any data to process.



Check the details of your hosting plan.







--

Alan

Adobe Community Expert, dreamweaver




http://www.adobe.com/communities/experts/








Oooh...they say I can use PERL or CGI. So then...got any
recommended scripts that I can use?




%26gt; they say I can use PERL or CGI. So then...got any
recommended scripts that I

%26gt; can use?



does the hosting have a control panel or CPanel? if yes- look
in there for a

preinstalled script. Check their faq/support info for a
preinstalled script.



Also look there for the password protected directory
question.



if no script,
http://nms-cgi.sourceforge.net



the nms-formmail script.



note- edit the script only with an editor that will save it
with Unix line

breaks. Windows line breaks will ruin the script file for
your linux hosting

(dw prefs--%26gt;code format--%26gt;line feeds)



--

Alan

Adobe Community Expert, dreamweaver




http://www.adobe.com/communities/experts/







No comments:

Post a Comment