Could not delete a single image from a model!![SOLVED] |
[eluser]SpooF[/eluser]
Code: unlink(substr(FCPATH,0,-9)."assets/photo/".$picture); FCPATH is the path your index.php including the index.php part. substr will remove the index.php part. This leaves you just the path to the index file and as long as your assets folder is in the same location as your index page you should be fine. |
Welcome Guest, Not a member yet? Register Sign In |