[ -V-O-Y-A-G-E-R- @ 01.10.2005. 20:30 ] @
Ovu skriptu mislim da sam našao negde na ES-u, pre skoro godinu dana, i do pre par meseci mi je sve radilo ok. Onda posle nekih intervencija na serverima provajdera sam počeo dobijati prazne mailove. Piše samo moja adresa i subject (zadan po defaultu). Nema ni pošiljaočeve adrese, ni samog maila. Code: <?php // headers for the email listed below $headers .= "From: $name <$email>\n"; // your email client will show the person's email address like normal $headers .= "Content-Type: text/plain; charset=iso-8859-1\n"; // sets the mime type $recipient = "[email protected]"; // enter YOUR email address here $subject = "[world in a p.xel] Email from the site"; // this is the subject of the email $msg = wordwrap( $msg, 1024 ); mail($recipient, $subject, stripslashes($msg), $headers); // the mail() function sends the message to you //Once the data is entered, redirect the user to give them visual confirmation header("location: contacted.html"); ?> Ako probam da pristupim direktno fajlu contactscript.php na mom sajtu, budem redirektovan na contacted.html stranu koja se pojavi kada se mail pošalje (redovnim putem..sa www.mariotomic.com/contact_me.html ), a u mailu koji zatim dobijem stoji samo jedna tačka :) U čemu može biti problem. Voleo bih samo da prepravim postojeću skriptu da radi, jer mi zaista ne treba ništa komplikovanije :) Dobro..moožda red dva sa IP-jem i user agentom :) |