Guest hashtreckz Posted February 26, 2003 Report Share Posted February 26, 2003 varbut kaads var palidzet ar email formas skriptu - lai no web lapas ierakstot vaardu, savu email un textu varetu nosutit email uz konkreetu email adresi. Paldies. Link to comment Share on other sites More sharing options...
capsx Posted February 26, 2003 Report Share Posted February 26, 2003 nu uztaisi formu kura nosuuta datus uz mail.php un mail.php rindinha kas suuta mailu: mail($recipient, $subject, $message, $headers); attieciigi: $recipient - sanheemeejs $subject - subject $message - mesaages txt $headers - hiideri ($headers .= "From: info@info.lv "; $headers .= "X-Sender: <info@info.lv> n"; pac paareejais kods jaauraxta pasham :) scriptus var mekleet ieksh http://www.hotscripts.com etc Link to comment Share on other sites More sharing options...
Guest hashtreckz Posted March 7, 2003 Report Share Posted March 7, 2003 te forma: <code><font color="#000000"> <html> <body> <FORM ACTION="sendmail.php" METHOD=POST> <INPUT TYPE=TEXT NAME="email_from" VALUE="tavs meils"><BR> <INPUT TYPE=TEXT NAME="subject" VALUE="subjekc"><BR> <TEXTAREA NAME="email_message">texts</TEXTAREA><BR> <INPUT TYPE=SUBMIT VALUE="Send"> </FORM> </body> </html> </font> </code> un te sendmail.php <code><font color="#000000"> <font color="#0000CC"><? [url=http://lv.php.net/mail]mail[/url]</font><font color="#006600">(</font><font color="#CC0000">"livefast@navigators.lv"</font><font color="#006600">, </font><font color="#0000CC">$subject</font><font color="#006600">, </font><font color="#0000CC">$email_message</font><font color="#006600">, </font><font color="#CC0000">"From: $email_from"</font><font color="#006600">); print </font><font color="#CC0000">"Email'z nosuutiic!..."</font><font color="#006600">; </font><font color="#0000CC">?> </font> </font> </code> bet nedarbojaas... visu laiku pienak pilnigi tuksh meils from php@ema.lv ... izmegjinati tika dazhadi skripti... kas varetu but pie vainas?!... Link to comment Share on other sites More sharing options...
Andris Posted March 7, 2003 Report Share Posted March 7, 2003 Tachu paarbaudi kaut ar echo pirms liec mail() funkcijaa, vai vispaar tajos mainiigajos ir kas iekshaa! Nu nevar taa vienkaarshi nosaukt mainiigos kaa formas lauki, sen jau taa vairs nenotiek. Lieto sekojoshu variantu: <code><font color="#000000"> <font color="#0000CC"><? [url=http://lv.php.net/ini_set]ini_set[/url]</font><font color="#006600">(</font><font color="#CC0000">"sendmail_from"</font><font color="#006600">, </font><font color="#0000CC">$_POST</font><font color="#006600">[</font><font color="#CC0000">"email_from"</font><font color="#006600">]); if (</font><font color="#0000CC">[url=http://lv.php.net/mail]mail[/url]</font><font color="#006600">(</font><font color="#CC0000">"livefast@navigators.lv"</font><font color="#006600">, </font><font color="#0000CC">$_POST</font><font color="#006600">[</font><font color="#CC0000">"subject"</font><font color="#006600">], </font><font color="#0000CC">$_POST</font><font color="#006600">[</font><font color="#CC0000">"email_message"</font><font color="#006600">], </font><font color="#CC0000">"From: "</font><font color="#006600">.</font><font color="#0000CC">$_POST</font><font color="#006600">[</font><font color="#CC0000">"email_from"</font><font color="#006600">])) echo </font><font color="#CC0000">"Email'z nosuutiic!..."</font><font color="#006600">; else echo </font><font color="#CC0000">"Neizdevaas"</font><font color="#006600">; </font><font color="#0000CC">?> </font> </font> </code> Tomeer buutu labi uztaisiit kaadu paarbaudi uz mainiigajiem, nevis taa vienkaarshi, kaadus sanjeema no formas, tadus ar suuta. Jaarekjinas ar cilveeku kljuudaam un arii ar ljaunpraatiigu riiciibu. Link to comment Share on other sites More sharing options...
Bandito Posted February 5, 2004 Report Share Posted February 5, 2004 mailscripts neeit tikai tapeec ka mailserveris neatrodas uz taa pasha servera uz kura atrodas scripts, kolai dara??? :huh: Link to comment Share on other sites More sharing options...
Recommended Posts