Hello everyone..
if 1 user post with ip: 100.122.312.56
then need to wait 5 minutes to post again.
can anyone make that script to wait 5 min. after have click sumbit button?
thx in advance!
Hello everyone..
if 1 user post with ip: 100.122.312.56
then need to wait 5 minutes to post again.
can anyone make that script to wait 5 min. after have click sumbit button?
thx in advance!
$timestamp = time();
$ip = $_SERVER['REMOTE_ADDR'];
Put the ip and time into the database and check when posting.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.