1
How to remove a file with unlink?
the file is in this folder
/home/user/public_html/public/data/file.png
i am running unlink from that file
/home/user/public_html/admin/application/controllers/delete.php
I’m using codeigniter, meaning, /admin/
has a codeigniter and the public_html
there’s another
Every time I try to remove him from that mistake
Just read the error message: "There is no such file or directory". You may even be seeing it in the directory but to the "eyes" of the Application, in case the file running unlink() could not be located. Edit your question with more information to try to help you with debug.
– Bruno Augusto
Welcome to stackoverflow, a tip, don’t use images to put error messages in the question, and put the code that error occurs here too. Read: http://answall.com/help/mcve :)
– Guilherme Nascimento