Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any know php? :P ENTER :P
11-05-2013, 09:48 PM
Post: #11
RE: Any know php? :P ENTER :P
(11-05-2013 09:28 PM)sathwik Wrote:  And as far as i know cool therez no use of unlink cool

have you tried to use the function delete() ??? it doesnt exist..
the correct function to delete files in php IS unlink()

you opened this topic cos you was not sure how to do this.
you have been given the correct way/function to use.
then you refuse to believe its the correct way.
at this point im not sure why the topic was made now..
Find all posts by this user
Like Post Quote this message in a reply
11-05-2013, 09:52 PM
Post: #12
RE: Any know php? :P ENTER :P
Bro is there any other way rather then unlink so that i can save space?
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
11-05-2013, 09:54 PM (This post was last modified: 11-05-2013 10:19 PM by Ghost.)
Post: #13
RE: Any know php? :P ENTER :P
unlink() deletes/removes the file from your server.
which is basically what you want to do right?

i was also confused by the name of the function the first time i came across it.
but it DOES completely remove/delete the file from the server. which is what you want to do. "save space"
Find all posts by this user
Like Post Quote this message in a reply
11-06-2013, 02:53 AM
Post: #14
RE: Any know php? :P ENTER :P
Yes....

Visit www.CodeCyan.com if you want to build your own website. For any help, script, code and modifications. happy
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
10-13-2014, 07:38 PM
Post: #15
RE: Any know php? :P ENTER :P
here is my basic php
Quote:>?php
// To delete files
$dir='/files';
$action='unlink';
$time='3600';
echo ( perform "unlink () $dir , after $time" )
<?
Visit this user's website Find all posts by this user
Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)