Re: How delete file from folder

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

 



Use function unlink() to delete file.
Note: also specify the folder on paramater.
Example: unlink("\usr\bin\public_html\upload\file.txt");

LuckyGuy354
IT Beginner

http://www.wiwid.org

----- Original Message ----- 
From: "arvindsri123" <arvindsri123@xxxxxxxxx>
To: <php-objects@xxxxxxxxxxxxxxx>
Sent: Monday, March 31, 2008 10:19 PM
Subject:  How delete file from folder


> Hi,
> 
> I am using php/mysql, and through admin, I have uploaded image file,
> which has saved in a folder "upload" on server.
> 
> and when i m deleting it through php script everything got delete but
> the image file still existing in folder "upload".
> 
> I want to delete this image from folder too.
> 
> 
> Anybody can help me ?
> 
> Thanks,
> Arshi 


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux