eeskip Posted October 21, 2008 Report Share Posted October 21, 2008 sveiki vai kads var uzmest ar aci sheit http://paste.php.lv/8185?lang=php klients forma ieraksta savu epasta adresi un tekstu lai sazinatos ar mani, bet es so vestuli nesanemu bet pats klients sanem atpakal? Link to comment Share on other sites More sharing options...
Aleksejs Posted October 21, 2008 Report Share Posted October 21, 2008 Un kāds teksts ir tajā atpakaļ saņemtajā e-pastā? Link to comment Share on other sites More sharing options...
andrisp Posted October 21, 2008 Report Share Posted October 21, 2008 http://paste.php.lv/8186?lang=php Skripts izdrukā 4 nevis 5. Kāpēc tā ? Link to comment Share on other sites More sharing options...
p4F Posted October 21, 2008 Report Share Posted October 21, 2008 ļoti skaisti aprakstīts viss http://lv2.php.net/manual/en/function.mail.php ja nesaproti angļu valodu vai arī krievu tās ir tavas problēmas jau. Link to comment Share on other sites More sharing options...
eeskip Posted October 21, 2008 Author Report Share Posted October 21, 2008 Un kāds teksts ir tajā atpakaļ saņemtajā e-pastā? teksts ir tads kadu klients uzraksta tas ir domats lai klients varetu sazinaties ar mani! tikai nerakstat parak ta gudri (nav apvainojums) jo es no ta te visa gandriiz neko nesaprotu! Link to comment Share on other sites More sharing options...
andrisp Posted October 21, 2008 Report Share Posted October 21, 2008 Nu problēma ir tur, ka tu mail() funkcijai kā TO parametru padod klienta ievadīto e-mailu. Link to comment Share on other sites More sharing options...
Aleksejs Posted October 21, 2008 Report Share Posted October 21, 2008 Hmm... kā Tev šķiet, ja es tagad atvērtu pasta klientu un To: lauciņā ierakstītu savu e-pasta adresi, kam šī vēstule pienāktu ;) 26. $to = "$_POST[email]"; ... 32. mail($to, $subject, $message, $headers); ... 65. <p>Tava e-pasta adrese (Lai mēs tev varētu atbildēt. <u>Netiks</u> publicēta.):<br/> <br/> 66. <input type=\"text\" id=\"email\" name=\"email\" value=\"\" size=\"30\" /><br/> <br/> <br/> Link to comment Share on other sites More sharing options...
Recommended Posts