L
Lawood
I wrote some cgi code for a UNIX system and was able to acces my data files
just fine. This code was then uploaded via Front Page to a windows system.
When executed a File Not Found was received. Contacted there support and they
gave me a way to receive the data. The problem is what they gave me was
absolute addressing. I would like to do this relatively. What they gave me
looks like this.
$db = "E:\\xxxxxx\\mysite\\www\\cgi-bin\\Data\\Text.dat";
Initially I had. $db = "Data/Text.dat". This worked on my Unix server.
Does anybody know of way to make this relative. Absolute is bad if they
decide to move the data to another location.
Thanks in advance
Lawood
just fine. This code was then uploaded via Front Page to a windows system.
When executed a File Not Found was received. Contacted there support and they
gave me a way to receive the data. The problem is what they gave me was
absolute addressing. I would like to do this relatively. What they gave me
looks like this.
$db = "E:\\xxxxxx\\mysite\\www\\cgi-bin\\Data\\Text.dat";
Initially I had. $db = "Data/Text.dat". This worked on my Unix server.
Does anybody know of way to make this relative. Absolute is bad if they
decide to move the data to another location.
Thanks in advance
Lawood