Re: delete a file
| From: | Scott Hurring | Date: | Fri, 19 Jul 2002 18:19:11 +0000 |
| Subject: | Re: delete a file | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14847@lists.php.net to get a copy of this message | ||
Ignore the book. there are tons of errors and badly-worded,
easily-misread statements in a lot of php reference books that
i've read.
unlink() *does* work with some versions of windows.
i just tested it right now, win2k/apache/php4.2.1 and it worked.
when in doubt, first try it, then RTFM, then read the
user comments. :-)
--
Scott Hurring
Systems Programmer
EAC Corporation
scott (*) eac.com
--
"J.A.Z." <j.a.z@bluewin.ch> wrote in message
news:20020717112000.59131.qmail@pb1.pair.com...
> thanks for all answers.
>
> however in my php-referenz (book) they sad:
> unlink does not take effect on windows system
> thats why i did not try this function!
> but it worked well. thank you. (PS: the dummy-entry "delete" did NOT work)
> :-)
> jaz
>
>
>
>
> "J.A.Z." <j.a.z@bluewin.ch> schrieb im Newsbeitrag
> news:20020717110408.51702.qmail@pb1.pair.com...
> > hi
> >
> > does anybody know how to delete a file?
> > you are able to generate a file with fwrite. you can open a file with
> fopen.
> > however i found no command to delete a generated file?
> >
> > thanx, j.a.z.
> >
> >
>
>