in reply to Re^2: CGI Login script error
in thread CGI Login script error

Usually, that should work, but I think some server configurations can mess with the current directory. Please either check the server error log or use the fatalsToBrowser construct to see what is really going wrong. Don't leave us (and yourself) guessing.