[ Please do not top-post!! ]
Wei, Alice J. wrote:
About the three param's that I am using in my code, all of these are
meant to be passed on using GET. My problem is that I am not sure if
the reason why http://192.168.10.63/file_linux.php?id=123 prints out
something like: Cannot create directory Cannot create directory
Cannot create directory, since the directory /var/www/html/hello does
exist.
So, how about asking Perl for the reason?
mkdir("/var/www/html/hello/$id", 0755)
|| print "Cannot create directory: $!";
If this is a permission problem, then why am I not getting something
that says Permission denied?
Because you didn't ask...
And, would you have suggestions on how I can fix this?
Chmod the directory /var/www/html/hello 0777.
--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/