Re: Verify if a file exists and.....
| From: | Brad Bonkoski | Date: | Mon, 21 Oct 2002 23:42:15 +0000 |
| Subject: | Re: Verify if a file exists and..... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120825@lists.php.net to get a copy of this message | ||
Alright:
1). http://www.php.net/manual/en/function.file-exists.php
2). http://www.php.net/manual/en/function.fopen.php
3). http://www.php.net/manual/en/function.fread.php
4). http://www.php.net/manual/en/function.fwrite.php
5). http://www.php.net/manual/en/function.is-readable.php
6). http://www.php.net/manual/en/function.is-writable.php
Well, that should get you started, just type in what you are looking for in
the search @ www.php.net. Much more fun to do it yourself then to have
someone else tpye out the code for ya :-)
HTH
-Brad
Kevin Fradkin wrote:
> then... depending... if exist show the info of that file..and give me the
> possibility to change the info inside the file showing ( here you have to
> read 1st from the file you are checking...all the variables on it...) and
> then save it again as the same name...
>
> ifnot.. redirect to another page
>
> thnx in advanced!
>
> Spooky
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php