my task is simple so i though... im trying to make a simple damn script that reads a file from a directory in the cgi-bin directory like so /cgi-bin/files
Changing directories like that could lead to problems if the files directory is a symbolic link. After the [tt]chdir '..';[/tt], you're working directory will not be what you expect it to be.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.