in reply to Delete txt file in a previous file
What is your current working directory when run by the webserver? I bet it's not what you think it is. So then when you do "../", it's looking in the wrong place, so of course it won't find anything. The glob comes back empty (because no files match the expression), so the loop is skipped, and nothing is output.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Delete txt file in a previous file
by stavros (Novice) on Aug 10, 2011 at 19:39 UTC | |
by cdarke (Prior) on Aug 10, 2011 at 19:52 UTC |