Jump to content

Forms

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
Howdy_McGee

Howdy_McGee

    Programmer

  • Members
  • PipPipPipPip
  • 135 posts
Ok so I've always used a free form generator to code my forms for me, but the website I've always used updated their policy so that you can only receive 200 email before you have to pay.

I tried coding one myself and connecting it to their server but on Internet Explorer the user would have to enable cookies and I don't know how to fix it so that doesn't happen. So anyway I was wondering if anyone knew a good free form generator?

#2
Chessur

Chessur

    Newbie

  • Members
  • PipPip
  • 29 posts
PHP offers a wide variety of free form generators, with unlimited emails. You need to connect to a webserver, most likely MySQL/CSS, using Firefox because honestly, Internet Explorer isn't that good...

Oh and, just search for "php mysql/css firefox free form generator" on Google and you'll find your answer like a quick brown fox!

#3
Howdy_McGee

Howdy_McGee

    Programmer

  • Members
  • PipPipPipPip
  • 135 posts
lol, Internet Explorer might not be that good, but my form has to support all browsers, mac and PC alike no matter how garbage they are

This code below looks legit, but whenever I submit the form - for starters it doesn't email me - and it opens the sendmail.php on submit instead of the thank you page that's set up, am i missing something here or should this work?

Form

<form method="post" action="sendmail.php">

  Email: <input name="email" type="text" /><br />

  Message:<br />

  <textarea name="message" rows="15" cols="40">

  </textarea><br />

  <input type="submit" />

</form>


PHP

<?php

  $email = $_REQUEST['email'] ;

  $message = $_REQUEST['message'] ;


  mail( "example@HowdysEmail.com", "Feedback Form Results",

    $message, "From: $email" );

  header( "Location: http://www.trileafdesigns.com" );

?>


Edited by Howdy_McGee, 02 July 2010 - 07:53 AM.


#4
jthom263

jthom263

    Learning Programmer

  • Members
  • PipPipPip
  • 74 posts
Hey Mate, This Is A Great Contact Form Generator, I Use It All The Time And It Has No Limitations, It Can Also Generate CGI Scripts If u Need CGI Instead Of PHP. Here Is The Link Free Feedback Form Wizard: Free Customized Feedback Form Script for Your Website (thesitewizard.com). Good Luck And Have Fun With Your Web Designing. :)
:)

#5
ManZzup

ManZzup

    Newbie

  • Members
  • PipPip
  • 10 posts

Howdy_McGee said:

lol, Internet Explorer might not be that good, but my form has to support all browsers, mac and PC alike no matter how garbage they are

This code below looks legit, but whenever I submit the form - for starters it doesn't email me - and it opens the sendmail.php on submit instead of the thank you page that's set up, am i missing something here or should this work?

Form
<form method="post" action="sendmail.php">
  Email: <input name="email" type="text" /><br />
  Message:<br />
  <textarea name="message" rows="15" cols="40">
  </textarea><br />
  <input type="submit" />
</form>

PHP
<?php
  $email = $_REQUEST['email'] ;
  $message = $_REQUEST['message'] ;

  mail( "example@HowdysEmail.com", "Feedback Form Results",
    $message, "From: $email" );
  header( "Location: http://www.trileafdesigns.com" );
?>

thoug im nt clear with the prob
just to check weather you use a offline php server to test your pages?
i mean you tested your page in you webhost or offline from your browser?
if you checked it offline, the nearest cause for the showing of sendmail.php is non-availability of php parser

#6
Howdy_McGee

Howdy_McGee

    Programmer

  • Members
  • PipPipPipPip
  • 135 posts
I threw said form on my webhosting server and it worked perfectly. Then I put it on my clients webhosting server and it would give me a Error whenever I sent it. I called them and they said their using some kind of Linux server or something of the sort and wouldn't give me permission to send it through their other server they had.

So all in all the form works on a server, surprisingly it took a lot less PHP then i originally though it would.