Any Free iPage web hosting Reseller Programs?

Click Here To View All Answers...

First off, Any Free iPage web hosting Reseller Programs? Thanks for any answer. Another question I got... Now, I've attached my single-page form(only 3 simple controls)( to this thread..

When the user types in his/her name in the text box and clicks the Submit button, the value(name, in this case), will be sent to my e-mail address. But for some reason, an error page always gets displayed instead. Thanks a lot!..

Comments (6)

I would like to know the answer too. Anyone here know what is the answer. I'll do some research and get back to you if I got an useful answer. You should email the people at iPage as they probably can answer it..

Comment #1

Well yeah there are loads of them. but your server (host) has to support the server side language you want..

You can look into matt's script archive and download as it is one of the best..


Comment #2

Thanks a lot, scoutt!.

Suppose my web iPage hosting provider supports the server side language needed but my web iPage site visitor/surfer's browser/system doesn't support these server side languages. Will the form code still work in this case?.

Thanks a lot!.


Comment #3

Server-side doesnt have anything to do with the browser!, that's client-side!..

Comment #4

Hi there Leo!.

So, that means, it doesn't really matter for the client-side?! Thanks!..

Comment #5

Hi xeon,.

Yup whatever runs server-side is not affected by what browser/browser version the user has..

Comment #6

Hey Xeon, I hope I don't get in trouble for posting this but it is a really simple but great form submitter. It is called "simplephpmail". If your server supports php(most do) it should work without any problems. Be sure to change any information in the form and script specific to you such as the email address..


<form method=POST action="scripts/simplephpmail.php">.


<tr><td>Name:</td><td><input type="text" name="name" value="" size=30></td></tr>.

<tr><td>Email:</td><td><input type="text" name="email" value="" size=30></td></tr>.

<tr><td>Subject:</td><td><input type="text" name="subject" value="" size=30></td></tr>.


<textarea cols=28 rows=8 name="message"></textarea>.


<tr><td></td><td><input type="Submit" value="Send">.



THIS IS UPLOADED TO YOUR SERVER AND SAVED IN THE "scripts" directory-"simplephpmail.php"..



$youremail = "";.


<? error_reporting(1); ?>.

<html><head><title>Copperhead Web Design and iPage hosting Contact</title></head><body>.


# stupid user check.

If($youremail == "user@domain") {.

Print "You have to change one variable (email address) in this file.</body></html>"; exit;.




If(($message) || ($name) || ($email) || ($subject)) {.

If($name) { } else {.

Print "Your message was not sent because you didn't specify your name.<br> ";.


If($email) { } else {.

Print "Your message was not sent because you didn't specify your email.<br> ";.


If($subject) { } else {.

Print "Your message was not sent because you didn't specify a subject.<br> ";.


If($message) { } else {.

Print "Your message was not sent because you didn't write anything in the 'message' field.<br> ";.


Print "<br>";.

If(($message) && ($name) && ($email) && ($subject)) {.

Print "Your email was sent successfully. Thank you for contacting Copperhead Web Design and Hosting<br><br> ";.

$to = $youremail;.

$from = $email;.

$VIRTUAL_REMOTE_HOST = gethostbyaddr( $REMOTE_ADDR );.

If( $REMOTE_HOST ) { } else {.



If( $VIRTUAL_REMOTE_HOST ) { } else {.



Mail ($to, $subject, "A message from $name at $email: $message $name's remote host is $REMOTE_HOST and $name's specified hostname is $VIRTUAL_REMOTE_HOST. The sender's IP Address is $REMOTE_ADDR and the sender's User-Agent string is $HTTP_USER_AGENT." ) or print "An unknown error occured.<br>";.

$name = NULL;.

$email = NULL;.

$subject = NULL;.

$message = NULL;.




<form method=POST action="<? echo $PHP_SELF; ?>">.


<tr><td>Name:</td><td><input type="text" name="name" value="<? echo $name; ?>" size=30></td></tr>.

<tr><td>Email:</td><td><input type="text" name="email" value="<? echo $email; ?>" size=30></td></tr>.

<tr><td>Subject:</td><td><input type="text" name="subject" value="<? echo $subject; ?>" size=30></td></tr>.


<textarea cols=28 rows=8 name="message"><? echo $message; ?></textarea>.


<tr><td></td><td><input type="Submit" value="Send">.



Comment #7

This question was taken from a support group/message board and re-posted here so others can learn from it.