Hi, this a sort of follow on from an earlier post. I am trying to check if a folder/directrory exists without having to place anything in it.

I can check by check for a file in the directory but i have to place it there on creation which seem a little silly.

Any help would be great

jules
Jules@hungrybear.co.uk

    There are actually many ways to do it as long as you are absolutely sure you have write permission to the directory.

    one example is using http://www.php.net/rename

    if its successful means the dir exist, else no. simple enough.

    of course after renaming, u will have to rename to the original file name

      Write a Reply...