Inject a php script over a WebSocket connection
Posted: Thu Dec 15, 2011 3:32 pm
Hi,
Is it possible to somehow "inject" a script over a WebSocket connection, like receiving a string which is a php script, saved in a buffer / array, which is then executed by the browser ? Or is the only manner to have a file received from the server the http way ?

Is it possible to somehow "inject" a script over a WebSocket connection, like receiving a string which is a php script, saved in a buffer / array, which is then executed by the browser ? Or is the only manner to have a file received from the server the http way ?