Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scripting Help: Directory directions

Status
Not open for further replies.

Zitarina

Programmer
Jul 7, 2001
9
DK
I have a password protected site, and first the user txt was in the same directory as the swf file, and it worked fine. Then I created a new directory for the user.txt. And now I want to change the script to that directory. What command should I use, so my script understand what url it should go to?


My script to load user.txt from action command:

------------------------------

U = user add ".txt";
loadVariables (U, "", "POST");

------------------------------

Let's say I want to use this directory:
set main to
I tryed:

U = user add ".txt";
loadVariables (U, " "POST");

What is wrong?

Zit
 
I could be wrong on this one, but there may be a situation where variables cannot be loaded from outside urls (an effort to combat fraud and such....I know you can't do it with xml like this). In fact I'd recommend using xml for this situation. Then it's even easier than updating a text file (to a degree).

Blended
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top