RE: [PHP] Image and PHP
| From: | YaronKh at clalit dot org dot il | Date: | Thu, 14 Apr 2005 11:20:18 +0000 |
| Subject: | RE: [PHP] Image and PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-213067@lists.php.net to get a copy of this message | ||
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@cartif.es]
Sent: Thursday, April 14, 2005 10:53 AM
To: bu@orbitel.bg
Cc: php-general@lists.php.net
Subject: Re: [PHP] 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