Jump to content

Sending Formmail.php from free host?


mamaluke

Recommended Posts

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....
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

[!--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
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.