
Haygar
Deleted
Jan 4, 2001, 7:33 AM
Post #1 of 2
(411 views)
|
|
Relative Addressing with MS Adv Ser 2k
|
Can't Post
|
|
I am running a win2k adv server with Active Perl. Everything works fine but perl scripts cannot read files in other directories except the cgi-bin using relative addressing. EG. $relative = "..\"; $filepath = "apps\downloads"; opendir(DIR, "$relative$filepath") || die("Cannot Open Dir!"); @dirlist = readdir(DIR); etc.............. All the directories and scripts have full permissions with the server and the same scripts work perfectly on win 2k pro pws, win NT3.51server, win 98pws, and any remote unix server. This inability prevents the use of some of perls most powerful features. Is this an attempt of MS to widen the gulf between them and Unix and force programmers to adopt ASP?
|