jsonchiu Posted March 31, 2007 Share Posted March 31, 2007 Ok, so I have a php socket server. I uploaded it and set its permission to 777 (so I can execute it). Then, I opened the file in firefox, and it just stuck there. I don't know if that's good or bad. The thing is, if I refresh the page, it said that the specific ip and port is in use, meaning that my php is running. However, I can't connect to it! I tried running it on my desktop, and it worked perfectly. However, that's not the case on the server. Quote Link to comment Share on other sites More sharing options...
poirot Posted March 31, 2007 Share Posted March 31, 2007 What are you trying to connect to? What functions you are using? Just a tip, some servers disable fsockopen() and similar functions. Quote Link to comment Share on other sites More sharing options...
neel_basu Posted March 31, 2007 Share Posted March 31, 2007 What are you trying to connect to? What functions you are using? Just a tip, some servers disable fsockopen() and similar functions. ya You are Right First Test It in this Way if(!function_exists('fsockopen')) { echo "Function Disabled"; } else { echo "Function Enabled"; } Quote Link to comment Share on other sites More sharing options...
jsonchiu Posted March 31, 2007 Author Share Posted March 31, 2007 sorry for not providing enough information... I'm connecting from flash actually... However, I will take a look at that. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.