"B. Fongo" <[EMAIL PROTECTED]> wrote:
> I tried several alternatives to solve the problem, but failed. In most
> cases, the script couldn't create a directory if there is a text file
> with the same name. Rob's suggestion works better; except that it
> overrides the directory without warning -
I tried several alternatives to solve the problem, but failed. In most
cases, the script couldn't create a directory if there is a text file
with the same name. Rob's suggestion works better; except that it
overrides the directory without warning - if it already existing. But it
remians some ho
Wiggins D'Anconia wrote:
>
> B. Fongo wrote:
> > I want to use mkdir(blah blah, o777), but want to first find out
> > whether the directory "blah blah" exists.
> > I'm not if the -e option will bw right here. Let's say:
> >
> >unless (-e blah_blah) mkdir(blah_blah, 0777);
> > # Is this oka
Sometimes I don't answers to my questions; so I thought it might help -
posting to both list.
Next time, I'll remember to post to one list only.
Thanks a lot.
Wiggins d'Anconia wrote:
Please don't cross post, if your question is CGI based then use that
list, otherwise use the other...
B. Fongo
On Dec 6, 2003, at 5:27 PM, B. Fongo wrote:
I want to use mkdir(blah blah, o777), but want to first find out
whether the directory "blah blah" exists.
I'm not if the -e option will bw right here. Let's say:
unless (-e blah_blah) mkdir(blah_blah, 0777);
# Is this okay?
May I recommend Fil
Please don't cross post, if your question is CGI based then use that
list, otherwise use the other...
B. Fongo wrote:
I want to use mkdir(blah blah, o777), but want to first find out
whether the directory "blah blah" exists.
I'm not if the -e option will bw right here. Let's say:
unless
I want to use mkdir(blah blah, o777), but want to first find out
whether the directory "blah blah" exists.
I'm not if the -e option will bw right here. Let's say:
unless (-e blah_blah) mkdir(blah_blah, 0777);
# Is this okay?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm