Jump to content

Recommended Posts

I was not expecting this but when I managed to connect to a chatroom and close out firefox.... The user stayed in the chatroom. This user should of pinged out by now but it's staying online. How do I end this connection?

So far I turned off my internet, and blocked all access to the site.

Well I just learned that if you combine a while loop and use socket_recv($socket, $buffer, 1024, 0); it will still run if you close out your browswer.

I have it read a textfile. I closed out the browser, changed the textfile and it still sent the new message. This was 5 min after I closed it.

So I'm guessing there's no way to stop this file at all except for to let it finish.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.