Показать сообщение отдельно
Старый 23.04.2005, 16:22   #2
diavol
снежный псих
 
Аватар для diavol
 
Регистрация: 27.03.2005
Сообщений: 962
Unhappy Отпрака письма..

а у меня вот какой вопрос.. Мне надо сделать так что бы прямо со страницы сайта можно было отправить письмо на емайл. (емайл всегда один и тот же!!)
Я ПЯТЬ!! скриптов скачал уже! и ничего не смог сделать.. Дело в том что там есть форма в которой всё пишется и собственно кнопка отправить, А ГДЕ ЕМАЙЛ ТО ПИСАТь??? я так и непонял. Сказал один чел что там ещё вроде бООльшой и длинный скрипт должен быть. Вообщем то я тоже так думаю что скрипт должен быть... ЛЮДИ ПОМОГИТЕ ПОЖАЛУЙСТО!!!! мне как можно быстрее надо это замутить, а то капец буд...
HTML код примерно такой:

ПЕРВЫЙ:

</head>

Здесь Вы можете оставить свои предложения и отзывы. Задать интересующие Вас вопросы.<br><form method=POST action="?module=simplemail&id=88"><form method='post' action='%action%'>
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td nowrap valign='top'>
<div align='right'><b>ФИ(О): </b></div>
</td>
<td nowrap valign='top'>
<input type='text' name='fio' size='45'>
</td>
</tr>
<tr>
<td nowrap valign='top'>
<div align='right'><b>Телефон: </b></div>

</td>
<td nowrap valign='top'>
<input type='text' name='tel' size='20'></td>
</tr>
<tr>
<td nowrap valign='top'>
<div align='right'><b>Факс: </b></div>
</td>
<td nowrap valign='top'>
<input type='text' name='fax' size='20'></td>

</tr>
<tr>
<td nowrap valign='top'>
<div align='right'><b>E-mail: </b></div>
</td>
<td nowrap valign='top'>
<input type='text' name='email' size='45'></td>
</tr>
<tr>
<td nowrap valign='top'>
<div align='right'><b>Ваш текст: </b></div>

</td>
<td nowrap valign='top'><textarea name='comments' cols='39' rows='10'></textarea></td>
</tr>
</table>
<center><p>
<input type='submit' name='Submit' value='Отправить'>
</center> </form></form>&nbsp;<div align="right"><img src="images/n6.jpg" width="86" height="5"></div>

ВТОРОЙ:

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.5 [en] (Win95; I) [Netscape]">
<!--#include file="tools.txt" -->
</head>
<body>

<center><font face="Impact"><font color="#3333FF"><font size=+3>Lyles Tell
a friend</font></font></font>
<p><font face="Arial,Helvetica"><font color="#3333FF"><font size=+1>This
program isn't specifically designed to be a tell a friend script, it could
be used for any kind of email function. It simply send's a message to someone
with certain form input. An example page is provided.</font></font></font>
<p><font face="Arial,Helvetica"><font color="#3333FF"><font size=+1>Example
below</font></font></font>
<br>&nbsp;
<p><form method="POST" action="http://ukzone.hypermart.net/cgi-bin/tellafriend.cgi">
<br><b><font face="Arial,Helvetica"><font color="#3333FF"><font size=+1>Friends
e-mail&nbsp;</font></font></font></b><input type="text" size="20" name="mailto">
<br><b><font face="Arial,Helvetica"><font color="#3333FF"><font size=+1>Your
e-mail&nbsp;</font></font></font></b><input type="text" size="20" name="mailfrom">
<br><b><font face="Arial,Helvetica"><font color="#3333FF"><font size=+1>Your
name&nbsp;</font></font></font></b><input type="text" size="20" name="fromname">
<br><b><font face="Arial,Helvetica"><font color="#3333FF"><font size=+1>Subject&nbsp;</font></font></font></b><input type="text" size="37" name="subject" value="Message from $FORM{'fromname'}">
<br><b><font face="Arial,Helvetica"><font color="#3333FF"><font size=+1>Message</font></font></font></b>
<br><textarea name="emailtext" rows="4" cols="44">Found a great site today
called Lyles Script Archive, it's full of great perl - cgi scripts. Have
a look, it's at http://ukzone.hypermart.net/scripts.</textarea>
<br><input type="submit" value="Submit">
<br></form>
<p><font face="Arial,Helvetica"><font color="#3333FF"><font size=+1><a href="http://ukzone.hypermart.net/scripts/download.html">Click
here to download</a></font></font></font></center>
<!--#include file="tools2.txt" -->
</body>
</html>
diavol вне форума   Ответить с цитированием