| |

VerySource

 Forgot password?
 Register
Search
Author: zlf1135

Failed to delete empty directory circularly? ?

[Copy link]

1

Threads

6

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

 Author| Post time: 2020-5-25 17:30:01
| Show all posts
If the deletion is unsuccessful in the loop, the deletion is successful? ? Is there a difference? . .
to del file: D: / AppServ / www / hy / html / 107/1/5

Warning: rmdir (D: / AppServ / www / hy / html / 107/1/5) [function.rmdir]: Permission denied in D:\AppServ\www\hy\del.php on line 48
to del file: D: / AppServ / www / hy / html / 107/1/6

direct to delete file: D: / AppServ / www / hy / html / 107/1/5
delete succeed
Reply

Use magic Report

0

Threads

8

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-5-28 22:30:01
| Show all posts
Operating system convention: deleting a directory can only delete an empty directory
Reply

Use magic Report

2

Threads

9

Posts

9.00

Credits

Newbie

Rank: 1

Credits
9.00

 China

Post time: 2020-6-10 14:00:02
| Show all posts
First clear the files in the directory, then delete the directory, it should be ok
Reply

Use magic Report

0

Threads

27

Posts

18.00

Credits

Newbie

Rank: 1

Credits
18.00

 China

Post time: 2020-6-23 09:15:01
| Show all posts
Permission denied

See if there are permissions, and there is no way to delete non-empty directories
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Invalid IP Address

Post time: 2020-8-25 10:15:01
| Show all posts
Before deleting, you must close the previously opened folder handle, using the closedir() function.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-25 10:30:02
| Show all posts
Permission denied in
Permission denied
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list