Thread: delete images
View Single Post

  #1 (permalink)  
Old 15-03-2006, 07:04 PM
louie's Avatar
louie louie is offline
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 2,040
Nominated 5 Times in 3 Posts
Nominated TOTW/F/M Award(s): 1
louie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enoughlouie will become famous soon enough
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default delete images

ok PHP heads, I need some advice on this.

I am after adding new products to the database and also have some discontinued cause they are not available anymore.

To delete those products in one shot is easy through php, but i'll be left with a lot of images on the server that i don't use anymore.

in the database i have the path to both sized images (small, large), so by looping through them, i can get the path for it but i need to delete those from folders before the record itself.

any example or good reading material?
__________________
:. Web Design & Development Web Design Ireland
:. Search Engines Optimization Search Engines Optimization
:. Directory Submission Directory Submission
:. News & Press Release Ireland GiveItSocks.com
:. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories
:. I Have 2 Find It Directory SEF Directory
Reply With Quote