Hai everybody,
I need help in making chat room
similar to facebook chat.
store in database userid based.
anybody plz help me.
Hai everybody,
I need help in making chat room
similar to facebook chat.
store in database userid based.
anybody plz help me.
No one is going to write this for you, if you need help with specific code than we can help. There is a lot of free knock off versions written in jQuery and JavaScript. You won't find a pure PHP Chat
hai everybody,
thanks for reply,
write now my chat function store in
subjectid based.
but i want to chat message store in userId based
You may want to review the following tutorial:
http://tutorialzine.com/2010/10/ajax-web-chat-php-mysql/
That might provide some clues to how you can modify your code.
Since userId's are specific to a logged in user and not a specific computer, a cookie does not seem like the way to go. Basic authentication in PHP is usually done with sessions, so you could just as well add the userId to the session.If the session times are too short, increase the session time.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.