0

Ahoy Sailors!

So I'm scripting a socket based project in PHP, And now I've got to the stage where I'm needing to start accepting user input, What worries me is that PHP can't do two things & once (I.E Spawning & waiting for input from an interface & listening for new connections).

To my knowledge there are two major interface builders for PHP, GTK-PHP & Winbinder, I've been trying the latter but when the window is spawned & your script is performing other things, The window will freeze until you come back to it's part in the script.

So my question is, Firstly is this possible, & Secondly how?

Thanks Bye!

4
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by diafol
0

You cant do that, you MUST use JavaScript, PHP only respond to browser what servers loaded. E.I: You cant play a game meanwhile you are not seen the screen... You need a response, the server will response what the PHP code will process...

0

js will perform some of what you may need (along with typical ajax applications).

BTW: are you Mr. Threepwood?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.