if you have a file called index.txt in the folder the cgi-bin is in, you can use the following code.
open (TFILEX,"../index.txt") || &error2;
Use ../ to go backward in the pathway.
Han.
Is there a way to open a file in a folder/s above/below the one the script is in? (OS is win2k),
Thanks,
Chris.
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]