Surely if the text file and the script are in the same dir you don't need the path at all.
Try changing $dir = "/cgi-bin/dls.txt"; to $dir = "./dls.txt";
In reply to Re: Opening files on IIS
by AcidHawk
in thread Opening files on IIS
by ucanflyit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |