Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 16th, 2007, 09:13 AM
Authorized User
 
Join Date: Oct 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to snowbydave1
Default PHP unlink() will not delete file

Dear Friend,

Unlink does not delete file in WinXP even file is NOT open by other process, software or file attribute is also NOT readonly.

@chmod(PRODUCT_LARGE_PATH . $dest_file, 0755);
unlink(PRODUCT_LARGE_PATH . $dest_file);


Please guide us.


Thanking you,


Snowby Dave

 
Old March 26th, 2007, 11:52 PM
Authorized User
 
Join Date: Sep 2006
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to aneesh_sunu@yahoo.co.in Send a message via Yahoo to aneesh_sunu@yahoo.co.in
Default

Hi
Please Try this link
http://www.w3schools.com/php/func_filesystem_unlink.asp

Regards
Aneesh
 
Old March 27th, 2007, 12:14 AM
Authorized User
 
Join Date: Oct 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to snowbydave1
Default

Hi Aneesh,

I had checked that site, but didn't get anything helpful. Will you please clarify more...?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Read, write, delete and display xml file in php rapraj XML 0 December 27th, 2007 02:18 AM
PHP unlink() will notdelete file snowbydave1 Pro PHP 0 March 16th, 2007 09:13 AM
PHP unlink() will notdelete file snowbydave1 PHP Databases 0 March 16th, 2007 09:12 AM
PHP unlink() will notdelete file snowbydave1 Beginning PHP 0 March 16th, 2007 09:11 AM
PHP unlink() will notdelete file snowbydave1 PHP FAQs 0 March 16th, 2007 09:11 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.