Objectivity
02-20-2007, 04:46 PM
Can someone tell me if there's an issue with Verio regarding relative links on its servers or if I'm just doing something amazingly stupid.
I'm trying to pull calendar data from a CSV file. My PHP code works on an extra domain that I'm using as a test site through GoDaddy but I'm having no luck using the same file on a Verio server.
The relative link that works on my test site includes the line:
$handle=fopen('calendar/staffCalendar.csv', 'r');
On Verio, that line results in a Can't Open File error.
I've discovered a workaround by using an absolute link, but I'd rather keep it relative. The absolute link that works is:
$handle=fopen('http://www.girlscoutsjs.org/calendar/staffcalendar.csv', 'r');
The file that contains the link is located in the index directory and the calendar directory is immediately off of that.
Thanks for any help that anyone can provide.
I'm trying to pull calendar data from a CSV file. My PHP code works on an extra domain that I'm using as a test site through GoDaddy but I'm having no luck using the same file on a Verio server.
The relative link that works on my test site includes the line:
$handle=fopen('calendar/staffCalendar.csv', 'r');
On Verio, that line results in a Can't Open File error.
I've discovered a workaround by using an absolute link, but I'd rather keep it relative. The absolute link that works is:
$handle=fopen('http://www.girlscoutsjs.org/calendar/staffcalendar.csv', 'r');
The file that contains the link is located in the index directory and the calendar directory is immediately off of that.
Thanks for any help that anyone can provide.