EllisLab text mark
Advanced Search
     
How to Delete a file from a folder
Posted: 02 December 2010 06:35 AM   [ Ignore ]
Joined: 2010-09-25
1 posts

unlink option cannot work in framework.

 
Posted: 02 December 2010 06:39 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2008-11-04
4404 posts

why not?

 Signature 

Me: WanWizard.eu | My company: Exite | Datamapper: DataMapper ORM

 
Posted: 02 December 2010 06:42 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2010-09-17
606 posts

*sarcasm* because it’s native php! *sarcasmoff*

 Signature 

I love lasagne!

 
Posted: 02 December 2010 08:48 AM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2008-01-03
728 posts

Not saying he got a point but CI could offer a better way for deleting single files.

Like a new function in the file helper, let’s say delete_file that checks if the file exists and all before running the unlink. More a feature request than a bug report though wink

 Signature 

Blog - Twitter

DBlog

MeNeedz: Auth - Cloud - Password - Search - Shoutbox - Akismet -
Twitter - Visitor tracking

 
Posted: 09 December 2010 06:00 AM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Joined: 2010-12-09
7 posts

can you tell the detail, so i can see what’s the problem.

 Signature 

Old days had gone, http://www.louisvuittonvs.com, new days are coming http://www.pursesvip.com rolleyes

 
Posted: 09 December 2010 06:57 AM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2010-09-17
606 posts
selinan - 09 December 2010 11:00 AM

can you tell the detail, so i can see what’s the problem.

There is no problem.

 Signature 

I love lasagne!