Hai everybody,

I need help in making chat room
similar to facebook chat.

store in database userid based.

anybody plz help me.

Recommended Answers

All 4 Replies

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

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.