I don't understand how to use nodejs+socket.io for my php engine.
- I have php-engine.
- I have server with installed nodejs+socket.io
- I'll don't know, how to send event (json - pref. etc.) from php-script's on socket.io the server, with privacy policy.
Or, how to use this ? if this is not php - so how i take userid/username/images?
All scripts what i see in the internet - without security and anyone can use not his username or userid (just change js), and nobody don't said, how to protect this.
Maybe u can help me and say how do this - with example code :)