linuxdoniv Posted May 25, 2010 Share Posted May 25, 2010 Hi, I am coding in PHP from past 15 days. Please excuse me if the question is trivial for you. I have hosted few php scripts and all of them are accessible from any computers but the following script works only on my comp. When copied on the browser, it downloads a file 'pfriend_poi' which contains {"layer":"pfriend","hotspots":null,"errorCode":20,"errorString":"No POI found. Please adjust the range."} which is the expected output. But the script does not seem to work on any other computers. Here is how i invoke the script. http://vmusm01.deri.ie/pfriend/pfriend_poi.php?countryCode=NL&lon=4.887339×tamp=1274786204164&userId=6f85d06929d160a7c8a3cc1ab4b54b87db99f74b&developerId=3583&developerHash=2b98e66403f46053965166b91055db68b2feffa6&radius=1500&lat=52.377544&layerName=pfriend&phoneId=6f85d06929d160a7c8a3cc1ab4b54b87db99f74b&accuracy=100 Thanks for any help. Quote Link to comment https://forums.phpfreaks.com/topic/202832-all-scripts-are-accessible-except-one/ Share on other sites More sharing options...
Adam Posted May 25, 2010 Share Posted May 25, 2010 Define 'does not seem to work'.. Quote Link to comment https://forums.phpfreaks.com/topic/202832-all-scripts-are-accessible-except-one/#findComment-1063045 Share on other sites More sharing options...
linuxdoniv Posted May 25, 2010 Author Share Posted May 25, 2010 Hi, I paste it on the browser and neither I get a file downloaded ( as it happened on google chrome on my comp) nor does any message pops up. ! I could see that the script does not even work on IE. Thanks, Quote Link to comment https://forums.phpfreaks.com/topic/202832-all-scripts-are-accessible-except-one/#findComment-1063099 Share on other sites More sharing options...
Adam Posted May 25, 2010 Share Posted May 25, 2010 Well when I tried to access the URL it just kept loading, which suggest it's not a permissions problem. Also I'm able to access your index file in that directory, so your server/computer is accessible. What exactly does the code do / could you post it? Quote Link to comment https://forums.phpfreaks.com/topic/202832-all-scripts-are-accessible-except-one/#findComment-1063108 Share on other sites More sharing options...
linuxdoniv Posted May 25, 2010 Author Share Posted May 25, 2010 Hi, When i try the script without those parameters, i get some content in the file and if i pass those arguments, i get another type. But both of the invocations of the script work on my computer on chrome. The code does not seem to have any errors as it sends an output in all cases on chrome. It has to work from outside. Thanks for any help / guidance. Quote Link to comment https://forums.phpfreaks.com/topic/202832-all-scripts-are-accessible-except-one/#findComment-1063166 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.