in reply to mkdir through a web interface

I think your problem is elementary. Try rewriting this line:

mkdir ("$user_name",0777) || die "cannot mkdir : $!";

As this:

mkdir ($user_name, 0777) || warn "directory $! already exists";

I hope this helps.

Brother Descartes
-- Programmus, ergo sum.

Replies are listed 'Best First'.
Re: Re: mkdir through a web interface
by Dylan (Monk) on Oct 05, 2001 at 19:56 UTC

    I was having a problem very much like that. Permissions, were not allowing me to print to a log file.
    I don't like CGI.pm my self. :)
    I like doing it by hand, It looks nicer. I however do use CGI::Cookie (only for generating the cookies, not for sending.) After all, if I don't keep me code clean, people get angry, and the PHP barbarians point at me and mutter. :)

    NS6.1 really socks with forms. :-(