| | |
How can i delete unused and unneeded images from a folder using php ?
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Yes this should be possible. There may be some scripts already written to do this although I am not aware of them. You could try searches on google and yahoo to see what you can find. If you don't find anything useful, you will find most of the php functions you will need here.
•
•
•
•
Originally Posted by Decency
thank you for such a wonderful reference you gave me
i checked it out and found the way to delete files and folders
and it was just so simple lol
for your reference the code is as this :
<?php
unlink("filename");
?>
can it be more simple ?
lol
Dont forget to spread the reputation to those that deserve!
![]() |
Similar Threads
- Spyware problem (Viruses, Spyware and other Nasties)
- internet explorer not showing home page properly (Viruses, Spyware and other Nasties)
- System Processes in XP? NetTsk.exe? (Windows NT / 2000 / XP)
Other Threads in the PHP Forum
- Previous Thread: Question about ASp or Php
- Next Thread: need help with the login
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax alerts apache api array beginner binary broken cakephp checkbox class cms code convert cron curl database date directory display download dynamic echo email error file files folder form forms function functions google hack href htaccess html htmlspecialchars image include insert integration ip java javascript joomla limit link login loop mail menu methods mlm mod_rewrite multiple mysql network object oop overwrite parse paypal pdf php problem query radio random recursion redirect regex remote script search securephp server sessions sms soap source space sql structure syntax system table tutorial update upload url validation validator variable video web xml youtube





