Sleep() was disabled for security reasons

Hi there, I was wondering why the sleep() function was disabled.

I need to use this function because of a 30 second check to see if an IP is blocked because the only way to check is to refresh the page, but my website contains input boxes because it is a chat system, so if it refreshes then the message would be cleared.

This is against TOS

This

3 Likes

Why is this against TOS?

Read

2 Likes

I did also read that post from the admin, “keeping a process alive for no reason”. It isn’t for no reason, it is for protection for my website.

I made my website only save and store 10 messages at once and only store messages with less than 50 characters

Unfortunately, this is not valid as your website is violating TOS

ok

i deleted the chat thingy


Possible reasons explained in a little more detail :

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.