fellixombc Posted February 9, 2009 Share Posted February 9, 2009 Alright, So I need a timer so that they can only send me one email every hour. I have no idea how to add this, heres my script: <?php // Contact subject $striptags $subject ="$subject"; // Details $striptags $message="$detail"; // Mail of sender $striptags $mail_from="$customer_mail"; // From $striptags $header="from: $name <$mail_from>"; // Enter your email address $to ='webmaster@rstools.ws'; $send_contact=mail($to,$subject,$message,$header); // Check, if message sent to your email // display message "We've recived your information" if($send_contact){ echo "We've recived your contact information"; } else { die "ERROR"; } ?> Quote Link to comment Share on other sites More sharing options...
corbin Posted February 9, 2009 Share Posted February 9, 2009 A crontab maybe? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.