I have been using ASP for years, but am now just learning PHP. I'm creating a website which I want to use an application variable. Does PHP support this?
Here is the scenario:
The website is for my parents to use while living overseas. One feature that I wanted to include was a basic chatroom. Rather than loading the chatroom everytime, only to find it empty, I wanted to be able to display which users were currently on. I see a lot of foums displaying current users and I want the same idea.
Also does php use anything like a global.asa? In other words, where do I put the code to detect that they have closed their browser?
Here is the scenario:
The website is for my parents to use while living overseas. One feature that I wanted to include was a basic chatroom. Rather than loading the chatroom everytime, only to find it empty, I wanted to be able to display which users were currently on. I see a lot of foums displaying current users and I want the same idea.
Also does php use anything like a global.asa? In other words, where do I put the code to detect that they have closed their browser?