Warning: unlink(../../BannerIcon/) [function.unlink]: Is a directory in /***/***/***/japansoc/libs/ez_sql_core.php on line 372
I got the error.
Can anyone solve this problem.
Thanks in advance
| SitePoint Sponsor |
Warning: unlink(../../BannerIcon/) [function.unlink]: Is a directory in /***/***/***/japansoc/libs/ez_sql_core.php on line 372
I got the error.
Can anyone solve this problem.
Thanks in advance
I got the solution. I used this code.Code PHP:if($img10!='') { $img10=$rows['Property_Image10']; $path10 = "../../BannerIcon/".$img10; unlink($path10); }
Thanks




to save yourself from a possible "not found" error, try the file_exists() function with an if conditional to check if the file/directory exists before attempting to unlink it.
No, I REALLY dislike having to use Joomla.
Bookmarks