PDA

View Full Version : MX loading vars from a txt



Ryall
August 3rd, 2004, 08:23 PM
ok I have a load vars function that looks for a txt file and grabs data from it, right now they have to be in the same dir. I'd like to have the txt in the root of my server and then be able to link from any dir in the site...

I have: ("dataValues.txt")

what should I add before it, I thought maybe a full URL, but no, is it something like ("../dataValues.txt"), basically I want to make the link global for the site - I dont have access to the files right now so I cant just try a bunch of stuff myself. :{

Peace

Ryall
August 3rd, 2004, 08:32 PM
or can I somehow put it the load vars after/in a getURL() in order to retrieve the data??