Socket Programming In Php Help Hints ? - Webmasters - Nairaland
Nairaland Forum › Science/Technology › Webmasters › Socket Programming In Php Help Hints ? (1104 Views)
| Socket Programming In Php Help Hints ? by Nobody: 8:55am On Nov 13, 2011 |
Sorry if this feels stupid i kknow i can check Google apparently nothing breaks it down for me, i'm looking into something like a chat app excpt rather than using Ajax to poll the server, i want the server to push changes in real time to the client, i know its possible in Flex but my Flex/actionScript knowledge is not that superb at, HTML5 has Websockets but not in all browsers i know its possible with PHP not sure how, if someone has a breakdown on it from any link i'd appreciate it. Happy sunday |
| Re: Socket Programming In Php Help Hints ? by Nobody: 1:22pm On Nov 13, 2011 |
Caramba. I have written such a script before, but i am not sure if that will be the same thing we are talking about. If you can catch me online, we can talk more about it, and i can provide you with a demo. |
| Re: Socket Programming In Php Help Hints ? by Nobody: 5:01pm On Nov 13, 2011 |
Tonight I'll be online.stay awake oh. |
| Re: Socket Programming In Php Help Hints ? by Nobody: 7:55pm On Nov 13, 2011 |
i might not be online got some work to submit tomorrow but will get back to you. thanks |
| Re: Socket Programming In Php Help Hints ? by Nobody: 8:05pm On Nov 13, 2011 |
Where are you amigo? Oya come online now jor |
| Re: Socket Programming In Php Help Hints ? by Nobody: 8:33pm On Nov 13, 2011 |
Anyway, check out this http://dsheiko.com/weblog/html5-and-server-sent-events and download that - http://sapid.sourceforge.net/ssetest/sse-code.zip - Hasta la vista |
| Re: Socket Programming In Php Help Hints ? by Nobody: 8:36pm On Nov 13, 2011 |
One thing i should just mention is that there is no direct way to get php to push data to the client without the client having requested it, there are only hacks to go around it. There is one html technique i use if i am running away from ajax, http://www.blog..net/content/dhtml-crossbrowser-ajax-simulator-photo-uploader |
| Re: Socket Programming In Php Help Hints ? by Nobody: 7:11am On Nov 14, 2011 |
I think i get the concept now unlike ajax that sends a request to the browser for new data, in this one a connection will be constant, so its like ajax from the other side. the article you sent gave a good detailed explanation but its for HTML5, i will try that out today. thanks bro i left a gift on your Juploader for helping me out. will get back to you when i have done something. |
Studing Programming In Aptech. • A Beginners Guide To Object-oriented Programming (OOP) In PHP 5+ • What's The Difference Between "require Once" And "include" In Php? • 2 • 3 • 4
Need Help On How To Download, Instal Aol Desktop 9.7 • Tear Leather(new) TOPLIST BY OMO Naija-add Your Site & Blog • Adsense Money Making Wordpress Blog Creation And Keyword Research Service