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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

load variables problem

Status
Not open for further replies.

guyphil

Programmer
Nov 2, 2004
27
IL
Ok, Ive manged to zero in on my problem from the last post.

It's a loadVariables problem.

The problem is simple:

The variables load on my local computer but dont load on the server.


The sript:
Code:
  loadVariables ("text_vars.txt", "/" , "POST");
'loadVariables ("text_vars.txt", "_root" , "POST");' also works


The variable to be loaded from text_vars.txt:
Code:
  &link1_1=About Avian Networks
The Output Script for dynamic textbox:
Code:
  test_var= link1_1
stop();

Any Ideas?

Thanks in Advance

GuyPhil
 
I found the problem.

For some reason the server won't read the variables from a .txt file but when I changed it to a .php file it works.

go figure.

Guy Phil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top