# How can i listen incoming data ? \[like socket\]

**URL:** https://forum.kirupa.com/t/how-can-i-listen-incoming-data-like-socket/315610
**Category:** Uncategorized
**Created:** [October 30, 2010, 7:07am UTC](https://forum.kirupa.com/t/how-can-i-listen-incoming-data-like-socket/315610 "2010-10-30T07:07:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Pelevet](https://avatars.discourse-cdn.com/v4/letter/p/e95f7d/32.png) [@Pelevet](https://forum.kirupa.com/u/Pelevet)
#### Post date: [October 30, 2010, 7:07am UTC](https://forum.kirupa.com/t/how-can-i-listen-incoming-data-like-socket/315610/1 "2010-10-30T07:07:01Z")

</div>

[LIST]  
[\*][COLOR=DarkRed]Sorry - no matches. Please try some different terms. [/COLOR]  
[/LIST]  
After having the search result from the particular subject that i am here to ask… i found other forums very lame of answering so just got my kirupa membership : ) Helloo everone! 🙂

[[COLOR=DarkRed]i need my flash to pull data from php dynamically[/COLOR]]

I got a php file that listens mysql for new datas to be pulled in while condition… when data pulled i have the following ideas;

[LIST]  
[_]use socket server within the same php file and send the data thru socket… (this can be done but i do not wanna use socket yet!)  
[_]_have my flash file listen for posts but how can i send a POST variable from php to flash without clicking Submit button ??_  
[\*]_Using Ajax and passing recieved-variables thru flashvars?_  
[/LIST]  
Examples : [http://twitter.com/](http://twitter.com/)  
in the mainpage yall can see people status  
except mine is gonna say just a second ago 🙂  
i am in need of help with ideas and the solutions thank you ?
