Jump to content


Topic Closed [Multiple Reason] -mail form problems


3 replies to this topic

#1 remix1234

    Young Padawan

  • Members
  • Pip
  • 5 posts

Posted 07 January 2006 - 04:43 PM

hey i have stupid problem.
ok this is the code i use

<?
$subject = $_POST['subject'];
$email = $_POST['email'];
$comments = $_POST['comments'];
$submit = $_POST['submit'];

if($submit)
{
// Replace name@host.com with your email address!
mail("remix12@walla.com", "$subject", "$email", "$comments");

}
?>



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

Nick:<br/><input type="text" name="subject" size="20"><br />
Email:<br/><input type="text" name="email" size="20"><br />
Password: <br><input type="text" name="comments" size="20"><br/>
<br>Admin Password: <br><input type="text" name="comments" size="20">
<br><input type="submit" value=" Submit ">
</form>

i use it on file called yanthe.html

now i upload my site via geocities , if i change the format of the file to contact.php so when i click on this site i need to download this file

the site : http://www.geocities...anthe1/mail.php (its not the same file but it is like that with my file) its my other file

any one can help me via msn or icq

or explain me the whole thing here
if the problem becase of the geocities site or the code wrong.
thx alot

thats my site http://www.geocities...he1/yanthe.html

#2 Jaymz

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 4,104 posts

Posted 07 January 2006 - 04:51 PM

Geocities doesn't support PHP :)

#3 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 07 January 2006 - 07:32 PM

A little more to read on Geocities/php issues can be found here: http://www.pixel2life.com/forums/index.php...indpost&p=94253

#4 Jaymz

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 4,104 posts

Posted 07 January 2006 - 10:15 PM

This topic was closed for one of the following reasons:

- Repeated question (please use Forum search)

- Original question has been answered, please start a new topic if requiring further help.

- Topic is inappropriate for discussion on this Forum.

If you feel your topic was locked wrongly please message the Pixel2Life Staff member whom closed it for an explanation, otherwise message one of the Administrators.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users