in reply to problems accessing remote server

This could be caused by any number of issues, I guess, but without seeing your system it's hard to tell. For instance, if you're using Apache, one thing to look at would your Alias and <Directory> settings in the httpd.conf to ensure that your script's location is actually known by Apache.