mamaluke Posted May 16, 2006 Share Posted May 16, 2006 Is this possible to do?Is it possible to send a formmail script form RIPWAY.net or 110MB.com because I know they support free php, but every time I try to use this it wont work.I know everything is coded right because when I used this formmail script on the website I got it off of (they have it so you can use it to test it) It works fine.... Quote Link to comment Share on other sites More sharing options...
ober Posted May 16, 2006 Share Posted May 16, 2006 Do you know if the free hosts support the mail function? They may have it disabled. Put a script on that free host with nothing but the phpinfo function in it (with PHP tags of course) and look through it. Quote Link to comment Share on other sites More sharing options...
mamaluke Posted May 16, 2006 Author Share Posted May 16, 2006 [!--quoteo(post=374253:date=May 16 2006, 08:34 AM:name=ober)--][div class=\'quotetop\']QUOTE(ober @ May 16 2006, 08:34 AM) [snapback]374253[/snapback][/div][div class=\'quotemain\'][!--quotec--]Do you know if the free hosts support the mail function? They may have it disabled. Put a script on that free host with nothing but the phpinfo function in it (with PHP tags of course) and look through it.[/quote]Ober, Do you think that you could supply me with a working FORMMAIL tutorial or something. I have gone through so many tutorials on how to make these the last couple days IM going crazy. So many people are telling me different ways on how to do this. Isnt there just a way which works the best? What im doing is gonna have it on a flash site, which I know how to go from flash to the formmail script and I just want it to send the mail to my gmail account. Even if I dont use it on flash can you please show me a simple way to just send a two textinput boxes. Also if im using ripway.com my sites url is [a href=\"http://h1.ripway.com/jimread/formmail.php\" target=\"_blank\"]http://h1.ripway.com/jimread/formmail.php[/a] does this mean in the spot where I have to put my website i have to put [a href=\"http://h1.ripway.com/?\" target=\"_blank\"]http://h1.ripway.com/?[/a]? Im so confused please help me Quote Link to comment Share on other sites More sharing options...
ober Posted May 16, 2006 Share Posted May 16, 2006 I'm not going to give you a full example, but it's really quite simple. If you want an example of how to setup a HTML form, you can use my personal site as an example: [a href=\"http://www.whproductions.com/index.php?req=contact\" target=\"_blank\"]http://www.whproductions.com/index.php?req=contact[/a]Just view the source of the page. As far as the processing page, it's nothing more than following the mail() function example from the PHP manual. You'll find a link to the manual in my sig. Quote Link to comment Share on other sites More sharing options...
mamaluke Posted May 16, 2006 Author Share Posted May 16, 2006 I know how to work all the html part of it and setup the form im having problems with the .PHP part there are so many different PHP scripts for this and I dont know what one works Quote Link to comment Share on other sites More sharing options...
mamaluke Posted May 16, 2006 Author Share Posted May 16, 2006 Ok here is the code I am using.I am using the Jack's Formmail Script since that is apperently the script which is most popular.Heres the only code i changed in the PHP script// for ultimate security, use this instead of using the form$recipient = "example@example.com"; // example@example.com// bcc emails (separate multiples with commas (,))$bcc = "";// referers.. domains/ips that you will allow forms to// reside on.$referers = array ('example.com','www.example.com','xxx.xxx.xxx.xxx');Ok and in my HTML I have this code<html> <head> <title>Form Mail</title> </head><body bgcolor="#FFFFFF" text="#000000"> <form name="form1" method="post" action="formmail.php"><input type=hidden name="subject" value="Form Mail Results"><input type=hidden name="required" value="fullname,email"><input type=hidden name="redirect" value="http://www.thankyoupage.com"">Name<br><input type=text name="fullname"><br>Email<br> <input type=text name="email"><br><br> <input type="submit" name="Submit" value="Submit"></form></body> </html>Everything works fine it redirects me but I never get an email with the results? Any suggestions on what to change(edited by kenrbnsn to remove real email addresses and domains) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.