The company i am currently working for have an intranet which the user must loggin themselves.
I am trying to update it so that it will read the users name from a text file(on a shared network drive) and compare it against a database.
this much i have done and works fine. However each user has a userdrive (U:\) where i am placing the .txt file. the problem is when i try to run the environ("username"
command it dosent work. so it loads the .txt file form the servers u:\. screwy huh!
environ("username"
- should return the username of the u: they are using. and combined with my servers address should allow me to access the file.
any ideas on how to make the environ command work? If you need any more info let me know.
I am trying to update it so that it will read the users name from a text file(on a shared network drive) and compare it against a database.
this much i have done and works fine. However each user has a userdrive (U:\) where i am placing the .txt file. the problem is when i try to run the environ("username"
environ("username"
any ideas on how to make the environ command work? If you need any more info let me know.