Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,389 members, 7,815,828 topics. Date: Thursday, 02 May 2024 at 07:02 PM

Socket Programming In Php Help Hints ? - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Socket Programming In Php Help Hints ? (1017 Views)

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)

(1) (Reply) (Go Down)

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

1 Like

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.

(1) (Reply)

Text Editors Vs Wysiwyg / Twitter Vs Facebook (which Is Better) / Another CSS Challenge

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 15
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.