cancel
Showing results for 
Search instead for 
Did you mean: 

Remote file access

footPRINT
Not applicable
Posts: 1
Registered: ‎23-07-2009

Remote file access

I have a website that uses javascript to pull html from a remote file and embed it in the main page. This works perfectly on my localhost and test server but does not work on the plusnet webspace.
I think this is because the script is being blocked from accessing other files on the server.
Is there anything I can do to correct this?
Thanks
1 REPLY 1
Ben_Brown
Grafter
Posts: 2,839
Registered: ‎13-06-2007

Re: Remote file access

Quote from: footPRINT
I think this is because the script is being blocked from accessing other files on the server.

Most likely it's being blocked, although as it's javascript it would be down to your web browser to do this. I know firefox blocks this sort of thing by default, if you're using that then check the error log (Tools->Error Console) - there should be a message in there.
It's sensible for the browser to do this, allowing javascript to load content from other domains is a gateway to security problems.