1. It is not because of the server since the server did not give the errors in error log.
2. The script itself works fine without error or warning when it is running. Double backslash is required if put the file path in "" on windows. I will test if it is ok if put in '' and one backslash.
3. It seems that the problem maybe related to windows OS as suggested by nerfherder. But I have no clue on it now.
I would pin down the problem to the file format now. It seems that the text file can be read out from outside cgi-bin. I will b back soon if I got it solved.
Thanks.
In reply to Re^2: Why can I not acess files outside cgi-bin directory?
by perlfeng
in thread Why can I not acess files outside cgi-bin directory?
by perlfeng
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |