Hi Mario you can use something like <img src="blabla.jpg" ONLOAD="delete_pic.php?fn=blabla.jpg"> And in delete_pic.php write something like: unlink ($_GET['fn']); -----Original Message----- From: Mario de Frutos Dieguez [mailto:marfru@xxxxxxxxx] Sent: Thursday, April 14, 2005 10:53 AM To: bu@xxxxxxxxxx Cc: php-general@xxxxxxxxxxxxx Subject: Re: Image and PHP Petar Nedyalkov escribiÃ: >On Thursday 14 April 2005 10:06, Mario de Frutos Dieguez wrote: > > >>I have a page where i place an image but i want when i show the image >>delete it. How can i do this? >> >> > >You want to delete it from the clients machine or what? > > > >>-- >>Mario de Frutos Dieguez >> >>DivisiÃn de IngenierÃa del Software >>y Comunicaciones >> >>CARTIF -Parque TecnolÃgico Boecillo >> >> > > > Sorry, i want delete it from the server side. I put the images in a directory in the server. -- Mario de Frutos Dieguez DivisiÃn de IngenierÃa del Software y Comunicaciones CARTIF -Parque TecnolÃgico Boecillo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php