Jump to content

Recommended Posts

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&timestamp=1274786204164&userId=6f85d06929d160a7c8a3cc1ab4b54b87db99f74b&developerId=3583&developerHash=2b98e66403f46053965166b91055db68b2feffa6&radius=1500&lat=52.377544&layerName=pfriend&phoneId=6f85d06929d160a7c8a3cc1ab4b54b87db99f74b&accuracy=100

 

 

 

Thanks for any help.

 

 

Link to comment
https://forums.phpfreaks.com/topic/202832-all-scripts-are-accessible-except-one/
Share on other sites

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?

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.

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.