Welcome Guest, Not a member yet? Register   Sign In
File Helper -- No delete_file?
#1

[eluser]rvillalon[/eluser]
There's a

delete_files() but nothing to delete just one file?

I tried placing a file path in the helper function, but doesn't seem to work for single files?
#2

[eluser]rvillalon[/eluser]
There seems to be a delete file function for the FTP class though. Is this what I should be using?
#3

[eluser]garymardell[/eluser]
or just use @unlink(); to remove the file, you don't need to use the helpers.
#4

[eluser]rvillalon[/eluser]
haha yea that works too. i was just wondering if CI had one. sorry.




Theme © iAndrew 2016 - Forum software by © MyBB