|
Posted by Alvaro G Vicario on 06/15/05 18:02
*** Desmond wrote/escribió (15 Jun 2005 07:43:33 -0700):
> This is my first attempt ever at php can anyone glance over this
> code segmant and tell me were I am going wrong please
Your main mistake is that you've tagged your usenet message to be ignored.
Subject line should be used to provide a short description of what your
message is about; that way, when there's traffic in the group, it can call
the attention of someone who may have the knowledge to help. Also, you
cannot just paste 50 lines of code and let others figure out what your
problem is. Explain what your want to do and how your code fails to do so.
Error messages are especially helpful.
> <body>
> <p>
> </head>
To begin with, this is not valid HTML. Check http://validator.w3.org/
> <form action="email.php" method="POST">
> $success = mail($to, $HTTP_POST_VARS["subject"],
> $HTTP_POST_VARS["message"]);
$HTTP_POST_VARS is deprecated, use $_POST instead.
--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
[Back to original message]
|