Re: unlink images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 27 November 2004 03:13, Julian wrote:

> I would like to delete a set of images right after they are displayed on
> the page using unlink. 

I'm curious to know why you want this.

> Unfortunately, with unlink the images are deleted 
> before they display on the user's browser. Is there a way to do this?

Channel your image requests to a php script that:

  fopen()
  fpassthru()
  unlink()

Haven't tried it, but in theory it looks like it should work.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Talkers are no good doers.
  -- William Shakespeare, "Henry VI"
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux