Cannot prevent rmdir warning

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: Cannot prevent rmdir warning

Post by johnj » Thu May 30, 2013 6:13 am

check if the directory exists before you try to remove it. for this use file_exists() function of php.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests