|
RE: lug-bg: Pomost za Perl skript
- Subject: RE: lug-bg: Pomost za Perl skript
- From: bivol@xxxxxxxxx (Peter An. Zyumbilev)
- Date: Wed, 9 Oct 2002 23:35:40 +0300
abe iadodsah i se zalisah i ne tia kaza 4e vmesto /var/spool/mail ti tribva
patis do sendamail...
koist e nest ot tipa /us/sbin/sendmail -t :):)
Peter Angelov Zyumbilev
Web Developer & Administrator
email: bivol@xxxxxxxxx <mailto:bivol@xxxxxxxxx>
web: http://www.bivol.net
phone: +359 88 966940
UIN: 108984925
-----Original Message-----
From: owner-lug-bg@xxxxxxxxxxxxxxxxxx
[mailto:owner-lug-bg@xxxxxxxxxxxxxxxxxx]On Behalf Of Alexander Panov
Sent: 09 ???????? 2002 ?. 13:33
To: lug-bg@xxxxxxxxxxxxxxxxxx
Subject: lug-bg: Pomost za Perl skript
vsi4ko se razviva okolo:
baterii.hit.bg/index.html
vav "index.html" imam forma koiato 4rez metoda "POST" sega izprasta
dannite direktno kam moia e-mail
<form method="post" action="mailto:a_panov@xxxxxxx">
OBA4E tozi koito prasta dannite triabva da go izvarshva 4rez E-mail
klient t.e. da ima POP3 bazirana posta
Imam server s perl i iskam da stane
<form method="post" action="http://www.qsl.net/lz2app/send_to_e-mail.pl">
taka brouzera ste prasta dannite na sktipta po http-to i niama da se
nalaga da se izpolzva e-mail klient za izprastaneto im(90% ot divite
Useri ne znaiat kakvo e POP3 i
kato im kajesh i-mail ti kazvat www.abv.bg)
v tozi sly4ai dostapnostta na formata e ve4e na 100% ina4e ste ia
polzvat niakade okolo 5% ot posetitelite.
Jelaia formata da podava dannite na skripta i toi da pravi 2 nesta:
1. da preprati tezi danni kam e-maila mi a_panov@xxxxxxx
2. da izvede starnnitza 4e dannite sa izprateni yspeshno
dosega: webbrouser>emailclient>mail.ru
da stane webbrouser>perlskript>mail.ru & html file sas saobstenie
to4ka 2. ia namerix kak se realizira:
----------------------------------------------------------------------------
-
print "Content-type: text\html \n\n";
print "<html>\n<head><title>?????? ?????? ? ????????? ???????!</title>\n";
print "<meta http-equiv="content-type" content="text/html;
charset=windows-1251">\n</head>\n";
print "<body>\n<h2 align="center">?????? ?????? ? ?????????
???????!</h2><br><h2 align="center">Your Order is send
successfully!</h2><p>\n";
print "??? <a href="http://www.baterii.hit.bg">????????</a>
?????????.<br>To <a href="http://www.baterii.hit.bg">main</a>
page.</p>\n</body></html>";
----------------------------------------------------------------------------
----------------------------------------------------------------------------
-----------------
blagodaria vi predvaritelno(+ tova sam i dyplex i jiveia sas tastata)
blagodaria
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|