Jump to content

Recommended Posts

Hello,

 

I want to know first, how to start new pages or small windows 

 

Next, how to temporarily store data and then delete upon exit of chat so that memory can be saved 

 

How to embed objects like images (objects?) 

 

How to have resizable or set the size of input field for the message

 

Show a sign like "person is typing" when other person is inputting data 

 

I'll probably get yelled at, I'm trying to amass all the information I need

I'll research each subject as I accomplish a task 

 

Right now I could really use a download script that saves a photo, gets url of photo and searches the document for "By Name" and cuts out / stores the Name part and then renames the file with an increment of one, instead I have to do 300 clicks with my mouse. = ineptitude or ignorance 

 

That is theoretically the ideal case but I have to sift through photos, see which ones are good eg. face is covered by watermark 

 

Thanks for any help 

Edited by greenace92
Link to comment
https://forums.phpfreaks.com/topic/292855-building-simple-chat-windows/
Share on other sites

Here is a step-by-step tutorial: "Building a jQuery/PHP Powered Chat Room"

 

http://css-tricks.com/jquery-php-chat/

 

Start with the basics and then when you have some working code, narrow down into a single question that is not overwhelming to tackle.

Edited by hansford

There is a version 2 for that

http://css-tricks.com/chat2/

But why even bother since this is a horrible way to do it.

 

Have a look at this link that explains some other methods such as sse (server side event),long polling, html5 websockets

http://stackoverflow.com/questions/11077857/what-are-long-polling-websockets-server-sent-events-sse-and-comet

 

Ratchet is a loosely coupled PHP library providing developers with tools to create real time, bi-directional applications between clients and servers over WebSockets.

http://socketo.me/

Christ, how many cans of worms must I open? 

 

haha 

 

It's awesome though I have all the time in the world it seems 

 

Funny how harsh that cross out seems 

 

Okay... thank you for this 

 

It's a slow process, one thing at a time, I hope to make progress every single day which is what I have been doing these last couple of days until a few hours ago... ate a lot of food, sugar crash.... ehhh. Tea and rice or a can of tuna and mayo. 

 

Anyway this is fantastic, thank you again. 

 

I can't wait to have a finished product and boldly claim "That is mine, I made that, with my mind" hahaha 

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.