Reply to RE: [PHP] Image and PHP

Your name:

Reply:


Posted by Mike on 10/24/97 11:13

> I have a page where i place an image but i want when i show
> the image delete it. How can i do this?
>
What I would probably do is create a cleanup function/class in the script
that gets a list of all the images in the directory in question and deletes
anything that more then, say, an hour old. I don't like situations that may
result the client not receiving data because the server was "too fast" or
the client was "too slow".

So all you'll have to do is make sure you have a folder that only contains
the images for this process and don't upload any other images to that
folder.

Simple enough.

-M

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация