bradyj
07-30-2003, 09:18 PM
I am trying to use an online script to make a simple guestbook -- yet, it gives me a constant error that the POST method is not allowed... any ideas why it won't let me do this? Is it an issue with my host?
This is the code for the file titled 'addpost.fcn':
<error>You need to enter your name.</error>
<require name>
<error>You need to enter a message.</error>
<require message>
<savecustom "guestbookdata.rev" APPEND,REVERSE,GUARD>
From: %name%
<p>
%message%
<hr>
</savecustom>
<redirectto href="index.shtml">
And this is my simple html code:
<body bgcolor="#FFFFFF" text="#000000">
<h1>My Guestbook!</h1>
<p>
Welcome to my guestbook! Please say something!
<form method=post action=addpost.fcn>
Your name: <input type=text name=name><br>
Your message:<br>
<textarea rows=10 cols=60 name=message></textarea>
<br>
<input type=submit value="Add message">
</form>
<hr>
<!--#include virtual="guestbookdata.rev"-->
</body>
Should fly right? Or am I loading it wrong here...
This is the code for the file titled 'addpost.fcn':
<error>You need to enter your name.</error>
<require name>
<error>You need to enter a message.</error>
<require message>
<savecustom "guestbookdata.rev" APPEND,REVERSE,GUARD>
From: %name%
<p>
%message%
<hr>
</savecustom>
<redirectto href="index.shtml">
And this is my simple html code:
<body bgcolor="#FFFFFF" text="#000000">
<h1>My Guestbook!</h1>
<p>
Welcome to my guestbook! Please say something!
<form method=post action=addpost.fcn>
Your name: <input type=text name=name><br>
Your message:<br>
<textarea rows=10 cols=60 name=message></textarea>
<br>
<input type=submit value="Add message">
</form>
<hr>
<!--#include virtual="guestbookdata.rev"-->
</body>
Should fly right? Or am I loading it wrong here...