westonlea7 Posted April 6, 2008 Share Posted April 6, 2008 heya ima noob to php but i am pretty well experianced in flash and ive been recently working on some php/flash stuff, but ive ran into a problem. and i think it has to do with the path to the variable file, but i have my flash script loadVariables("http://localhost/getkeys.php", this, "GET"); which works just fine when i view my site by typing in localhost, but not when i view it through its ip adresss... im running php on iis if you need to know Quote Link to comment https://forums.phpfreaks.com/topic/99789-localhost-works-but-not-internet/ Share on other sites More sharing options...
budimir Posted April 6, 2008 Share Posted April 6, 2008 Instead of localhost, try putting a name of your server where php is installed (http://server_name/location of script/) Good luck. Quote Link to comment https://forums.phpfreaks.com/topic/99789-localhost-works-but-not-internet/#findComment-510373 Share on other sites More sharing options...
bozebo Posted April 6, 2008 Share Posted April 6, 2008 you might need the ports opened/forwarded correctly so that it can connect via the internet, though I am unsure. Quote Link to comment https://forums.phpfreaks.com/topic/99789-localhost-works-but-not-internet/#findComment-510485 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.