Reply to Re: help!!!!!

Your name:

Reply:


Posted by J.O. Aho on 09/28/89 11:40

Seattlemx wrote:
> 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.
<?
$to = "me-mail@gmail.com";
$name = $_POST['name'];
$from = $_POST['from'];
$subject = $_POST['subject'];
$body = $_POST['body'];
$from_header=stripslashes('From: '.$name.'<'.$from.'>') . "\r\n"

mail($to, $subject, $body, $from_header);


//Aho

[Back to original 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

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