# Problem to use PHP 5 Sockets with Flash 8

**URL:** <https://forum.kirupa.com/t/problem-to-use-php-5-sockets-with-flash-8/303331>\
**Category:** Uncategorized\
**Created:** [January 18, 2010, 7:47pm UTC](https://forum.kirupa.com/t/problem-to-use-php-5-sockets-with-flash-8/303331 "2010-01-18T19:47:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![reza2181](https://avatars.discourse-cdn.com/v4/letter/r/7ea924/32.png) [@reza2181](https://forum.kirupa.com/u/reza2181)\
**Post date:** [January 18, 2010, 7:47pm UTC](https://forum.kirupa.com/t/problem-to-use-php-5-sockets-with-flash-8/303331/1 "2010-01-18T19:47:19Z")

</div>

hi;  
i read tutorial in link below:  
[http://www.kirupa.com/developer/flash8/php5sockets\_flash8.htm](http://www.kirupa.com/developer/flash8/php5sockets_flash8.htm)  
i think that i learn how it work. but i can’t use this true.  
my problem is step by step use sample files in Linux or windows.  
i use this file in windows with my Localhost ([XAMPP) but it doesn’t work true. i copy samples (download samples from [URL=“http://www.kirupa.com/developer/flash8/php5sockets\_flash8\_6.htm”]page 6 of tutorial or click [URL=“http://www.kirupa.com/developer/flash8/code/sockets.zip”]here](http://www.apachefriends.org/download.php?xampp-win32-1.7.3.exe)) into my “www” directory on “localhost” and embed “socketsTut.swf” into “index.html” to use flash chat from my Mozilla Firefox Browser.  
when i type “[http://localhost/index.html](http://localhost/index.html)” in Mozilla Firefox address bar flash chat appear but it can’t connect to socket and “Server connection failed!” will be appear in “socketsTut.swf”. i also try “socketTut.bat” on windows. i change content of “socketTut.bat” from “c:/web/php/php.exe -q c:/web/Apache2/htdocs/socketTut.php” to “C:/xampp/php/php.exe -q C:/xampp/htdocs/socketTut.php” and open it with command prompt in windows. it doesn’t appear any thing and just it go to new line in command prompt.  
i will step by step help that how i can use samples file in Windows or Linux (Ubuntu).

I need Help … ☹

thank a lot for read this post;  
have fun  
and Good bye

R. Amya
