Need a contact form

turni

New Member
Hello,

I need a contact form on my website, that will send to my email address what the visitor enter in the form fields. The problem is that I can't run any php scripts.. is there a way to use some html form?
:)
 
Unfortunately, as he said, he cant run any PHP scripts. The only easy way to get a custom form that works properly is PHP.
 
aaah ok, sorry, you'd think i'd learn to read threads by now, obviously not, lol. Anyway, is there any other restrictions on your hosting, or if it's easier, what files CAN you execute and run on your server?

dragon
 
cant you just use an html form? Im kinda new at web programming, but if i understand your post correctly, this should work
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
  <title></title>
</head>
<body>

<form method="post" action="mailto:[email protected]" enctype="text/plain">
Name: <input type="text" name="name" size="30" ><br><Br>

Leave Message<br>
<textarea name="comment" rows=10 cols=50></textarea>

<input type="submit" value="Submit">
<input type="reset">

</form>

</body>
</html>
 
Last edited:
cant you just use an html form? Im kinda new at web programming, but if i understand your post correctly, this should work
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>

<head>
  <title></title>
</head>
<body>

<form method="post" action="mailto:[email protected]" enctype="text/plain">
Name: <input type="text" name="name" size="30" ><br><Br>

Leave Message<br>
<textarea name="comment" rows=10 cols=50></textarea>

<input type="submit" value="Submit">
<input type="reset">

</form>

</body>
</html>
Using that is 100% dependant on the user having an active e-mail account fully set up in Microsoft Outlook. It's a big no-no to use in any sort of professional environment, and can also exclude a whole bunch of visitors who dont have local email accounts, only web based one (like me for example)

Another thing is that if you use that method you've just given the world your email address that it gets sent to, this is bad for privacy, opens you right up for spam and just isnt good.

Basically, that method is clientside, you want something thats serverside. By the sounds of it he is operating on a very bad free host which limits the running of any serverside scripts such as PHP and CGI... If that is the case then you're gonna find it hard to find a good solution

dragon
 
Using that is 100% dependant on the user having an active e-mail account fully set up in Microsoft Outlook. It's a big no-no to use in any sort of professional environment, and can also exclude a whole bunch of visitors who dont have local email accounts, only web based one (like me for example)

Another thing is that if you use that method you've just given the world your email address that it gets sent to, this is bad for privacy, opens you right up for spam and just isnt good.

Basically, that method is clientside, you want something thats serverside. By the sounds of it he is operating on a very bad free host which limits the running of any serverside scripts such as PHP and CGI... If that is the case then you're gonna find it hard to find a good solution

dragon

word. So in order to do it serverside, you have to use php or cgi. what exactly does serverside mean.

-jason
 
May I recommend Freedback, as they do PHP forms that you can customize within their website. If you are FreeHosting, just signup with 789Mb. If you are paid, I'd seriously recommend transferring provider, but thats not always an option. Go to their site, design your form, and copy-paste the HTML. The PHPMailer is located on their server, so no there are no PHP files for you to host on your server, or the one through another company. I seriously recommend their services to all beginners.

Although the free service displays a submission advert, then goes away when submission is complete, its ideal for startups. I guess you cant be anything major, because you dont have a server with PHP support. I am bringing my new webhosting server online soon, so if you want in, you'd better PM me. 50GB space, unlimited bandwidth, 9Mb unmetered uplink and free technical support. PHP, HTML, MYSQL and so much more!

Anyway, try out Freedback and see what you think. If you dont want to upgrade, but want to use PHP forms, their pricing options are quite reasonable, and they give you an option to redirect multiple forms, use password boxes, collect credit card details (within the Data Protection Act) and other stuff too.
 
word. So in order to do it serverside, you have to use php or cgi. what exactly does serverside mean.

-jason
clientside and serverside are phrases that can be used to describe any process that you see happening on the web. Clientside processes are run on the local PC thats viewing/doing it. This includes any processing, all the server does is perhaps give the client a starting instruction or somethign.

Serverside is where all the processing and actions are done by the server, all the user/client has to do is, for example, input his/her details.
 
Thank you for your suggestions! I found a site that offers remotely hosted contact forms, www.emailmeform.com . Basically, I paste the html code in my website, and it calls the php script on their server who sends the email.:D
 
Back
Top