You are here: help!!!!! « All PHP « IT news, forums, messages
help!!!!!

Posted by Seattlemx on 09/28/94 11:40

hi .. i just start learning php and I'm doing my first scrip !!! but it
doesn't work .....
this is the script


page.php
----------------------------------------------------------------------------------------
<?
$to = "me-mail@gmail.com";
$name = $_POST['name'];
$from = $_POST['from'];
$subject = $_POST['subject'];
$body = $_POST['body'];

mail($to, $subject, $body, $from, $name);

?>

Email has been sent.

===----------------------------------------------------------------------------------
went the people send me a comment about my web page i didn't get his
e-mail address,,,, i just get his name, subject, and boby text but
not his e-mail address can some one help me whats going on whit this
script !!!

them this the 2 part of the scrip

form.php
----------------------------------------------------------------------------------------------------
<BODY>
<FORM METHOD=POST ACTION="page.php">
Name: <INPUT TYPE=TEXT NAME="name">
Email Address: <INPUT TYPE=TEXT NAME="from">
Subjeto: <INPUT TYPE=TEXT NAME="subject">
Comments: <TEXTAREA NAME="body" ROWS=5 COLS=50
WRAP=PHYSICAL></TEXTAREA>
<INPUT TYPE=SUBMIT VALUE="SUBMIT FORM">
</BODY>
---------------------------------------------------------------------------------------
can some on e help me what i did wrone ....
thanks .......

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация