dsdsdsdsd Posted March 24, 2008 Share Posted March 24, 2008 hello; I would like for server-side php to ping my browser-side swf? is this possible? thanks dsdsdsdsd Link to comment https://forums.phpfreaks.com/topic/97644-can-server-side-php-ping-browser-side-swf/ Share on other sites More sharing options...
cooldude832 Posted March 24, 2008 Share Posted March 24, 2008 HTTP Request methods such as GET and POST can interact with .swf/.flv files Link to comment https://forums.phpfreaks.com/topic/97644-can-server-side-php-ping-browser-side-swf/#findComment-499599 Share on other sites More sharing options...
dsdsdsdsd Posted March 24, 2008 Author Share Posted March 24, 2008 cooldude832, thanks for responding; I was attempting various http_... methods yesterday and none of them were working; the documentation seems to suggest that 'http_...' is an extension: Additionally to the API reference in this manual you can find information about how to install and configure as well as which... nevertheless, if there is a person, say Joe, who lives in California and visits my_website.com which has an <object><embed src=my.swf></></>, what does php need in order to ping that instance of my.swf ( as opposed to Sue's instance in Vermont, say )? thanks for your time, dsdsdsdsd Link to comment https://forums.phpfreaks.com/topic/97644-can-server-side-php-ping-browser-side-swf/#findComment-499609 Share on other sites More sharing options...
cooldude832 Posted March 24, 2008 Share Posted March 24, 2008 this is more of swf question as php can take any HTTP method. That instant of the .swf file needs to have some uniquness to it. php can't "ping" it has to be activated via a user navigating to a script or CRON. What needs to happen is the .swf file needs to use some method like AJAX to send the data to your php script. Link to comment https://forums.phpfreaks.com/topic/97644-can-server-side-php-ping-browser-side-swf/#findComment-499615 Share on other sites More sharing options...
dsdsdsdsd Posted March 24, 2008 Author Share Posted March 24, 2008 cooldude832, thanks again; that is what I was afraid of: that the swf was going to have the burden of contacting the php ( as is the case usually ); I was hoping for this particular application that php might have some way of pro-actively contacting/pinging a client-side .swf; thanks dsdsdsdsd Link to comment https://forums.phpfreaks.com/topic/97644-can-server-side-php-ping-browser-side-swf/#findComment-499651 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.