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 ='[email protected]'; $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"; } ?> Link to comment https://forums.phpfreaks.com/topic/144418-php-timer/ Share on other sites More sharing options...
corbin Posted February 9, 2009 Share Posted February 9, 2009 A crontab maybe? Link to comment https://forums.phpfreaks.com/topic/144418-php-timer/#findComment-757872 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.