🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.programy.flash-5
Article #34087

Re: Formularz

#34087
From: Piotr Bochaczyk
Date: Sat, 07 Apr 2007 13:50
43 lines
2378 bytes
northman wrote:

> Proszę o podpowiedź, jak zrobić formularz z zapytaniem ofertowym, aby był 
> wysyłany jako e-mail...
> 
masz z okazji świąt
we flaszu musisz mieć pola o nazwach:
nazwisko, mailfrom, telefon, korespondencja
nie muszę chyba pisać które co oznacza
po wysłaniu (loadVariables) czekasz na zmianę wartości zmiennej sent
na true i wyświetlasz, że mail wysłany

<?php
 $mailto='jakismail@jakasdomena.pl';
 $temat='Korespondencja ze strony jakiejśtam';
 $tresc= '<HTML><HEAD>';
 $tresc .= '<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=utf-8">';
 $tresc .= '<META NAME="Author" CONTENT="Piotr Bochaczyk;
http://bochaczyk.biz">';
 $tresc .= '<META NAME="Generator" CONTENT="Handy Made v31pro">';
 $tresc .= '<STYLE TYPE="TEXT/CSS"><!--';
 $tresc .= '.bold {  font-weight: bold}';
 $tresc .= '--></STYLE></HEAD><BODY>';
 $tresc .= '<BR><H3>Ten formularz został wypełniony i wysłany ze strony
internetowej jakiejśtam</H3>';
 $tresc .= '<HR ALIGN="center" WIDTH="90%">';
 $tresc .= '<BR><SPAN CLASS="bold">Imię i nazwisko: </SPAN>'.$nazwisko;
 $tresc .= '<BR><SPAN CLASS="bold">Adres e-mail: </SPAN>'.$mailfrom;
 $tresc .= '<BR><SPAN CLASS="bold">Telefon kontaktowy:
</SPAN>'.$telefon;
 $tresc .= '<BR><SPAN CLASS="bold">Korespondencja:
</SPAN><BR><PRE>'.$korespondencja.'</PRE>';
 $tresc .= '<HR ALIGN="center" WIDTH="90%">';
 $tresc.="</BODY></HTML>";

 print 'sent=true';
}
?>

-- 
GCA/ED d s+:++ a C++ ULA P+++ L+ E--- W+++ N+++ o+ K- w+++ O+ M+ V-
PS PE++ Y-- PGP- t-- 5-- X+ !tv R b+ DI-- D+ G e++ h--- r+++ z+++*
Technical Details
Message-ID: <ev87rq$2ja$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <ev83rh$1hs$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Piotr Bochaczyk <pietrekbezmielonki@narod.ru>
Newsgroups: alt.pl.programy.flash-5
Subject: Re: Formularz
Date: Sat, 07 Apr 2007 15:50:55 +0200
Organization: bochaczyk.biz
Lines: 43
Message-ID: <ev87rq$2ja$1@nemesis.news.tpi.pl>
References: <ev83rh$1hs$1@inews.gazeta.pl>
NNTP-Posting-Host: abng48.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1175954108 2666 83.7.252.48 (7 Apr 2007 13:55:08 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Sat, 7 Apr 2007 13:55:08 +0000 (UTC)
User-Agent: Noworyta News Reader/2.9
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit