Flash fails to connect to PHP Socket when Online!!!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
reapermedia
Forum Newbie
Posts: 2
Joined: Sat Sep 12, 2009 12:04 pm

Flash fails to connect to PHP Socket when Online!!!

Post by reapermedia »

AAAAAAAAAAAAAAAH!!!! I'm literally pulling my hair out here , i have followed this tutorial:

http://www.kirupa.com/developer/flash8/ ... flash8.htm

...to the letter after installing Apache and PHP on my pc. And i am geting really fraustrated because i cannot get the flash objects to connect to the PHP socket when they have been uploaded to the localhost server or any other online server. However it works no problem when i run the flash object straight from my HD. The socket is definately open because telnet connects to it fine.

My pc ip is 192.168.1.7. And when I transfer the flash object to any other pc on my lan, if it is on the hd, it connects to my pc no problem. However, if i were to type in http://192.168.1.7/socket_test.swf, it DOESN'T WORK!!!

Please help me
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

Re: Flash fails to connect to PHP Socket when Online!!!

Post by Darhazer »

Check in the export settings if there is 'allow network access' (or something similar) enabled
reapermedia
Forum Newbie
Posts: 2
Joined: Sat Sep 12, 2009 12:04 pm

Re: Flash fails to connect to PHP Socket when Online!!!

Post by reapermedia »

Wait..... It Works!!!!!!!!!!!! Woo Hooo!!! And you know what the problem was..... it was the blooming filename of the flash file, it had a space in it, and decided not to work :D Replaced the space with an underscore, and it works!!! :)
Post Reply