View Single Post
Old 07-04-2004, 11:04   #1 (permalink)
Bill Posters
trouble free and loverlee
 
Join Date: Mar 2003
Location: YooKay
Posts: 2,968
quick PHP question… reference a directory?

Just working on some php to process a form and create a directory named after one of the input fields.
That's simple enough.

Wanna add in a double-check to see if a directory already exists with that name, so I can bounce doubles back to the submittal page.

Something like:

if (chkdir($directoryname)) { blah blah…


Anything like that?


tia
  Reply With Quote