PDA

View Full Version : Forms



:-Rico-
13-11-2005, 05:04 PM
How do you put a form on your site s I can't work out how to +rep for help

Dan Williamson
13-11-2005, 05:09 PM
You upload the files :)

- Dan

:-Rico-
13-11-2005, 08:10 PM
I have but it isn't appearing on my site :s

Do I upload into ftp or html?

Baving
13-11-2005, 08:47 PM
What type of forum is it?

:-Rico-
13-11-2005, 08:53 PM
Nvm I got it up but..... I have a request bit and a submitted part but they are different pages do I just make the submit button link to that page? If so what is the html code

Baving
13-11-2005, 08:56 PM
Do you have alink to the forum so that we can see?

:-Rico-
13-11-2005, 08:58 PM
First its a FORM and the link is www.rkdesigns.shield-hosting.com/request.html and never mind the stuff in the boxes as its still on the same stuff as when my mate gave me it :P

Baving
13-11-2005, 09:13 PM
Try searching www.google.co.uk for a button link.

Crouch
13-11-2005, 09:53 PM
There are a bunch of forums you can use ~ www.phpbb.com, www.vbulletin.com, www.mybb.com, www.invisionpowerboard.com

tightdude94
13-11-2005, 11:18 PM
Rico, you want to find out how to gte forms on yoursite right? http://www.formlogs.com It's actually really good:)

Ash♥
14-11-2005, 06:30 AM
---- CONTACT.HTML ----

<p><form action="contact.php" method="post">

Habbo Name:<br>
<input type="text" name="name"><BR>
E-mail Address:<br>
<input type="text" name="email"><BR>
Message:
<BR>
<textarea name="message"></textarea><BR>
<input type="submit" value="Send">
</form></p>

---- CONTACT.PHP - Redirected after ----

<p><?php
$name=$_POST['name'];
$email=$_POST['email'];
$comments=$_POST['message'];
$to="[email protected]";
$message="Habbo Name: $name \n E-mail address: $email \n Message: $message \n IP: $REMOTE_ADDR";
if(mail($to,"Message sent from your site",$message,"From: $email\n")) {
echo "";
} else {
echo "Error.";
}
?> </p>

Dan Williamson
14-11-2005, 06:29 PM
Or if your still having major difficulties, use Thybags form handler

- Dan

Want to hide these adverts? Register an account for free!