Re: I NEED HELP> REALLY BAD
| From: | Web Admin | Date: | Sat, 28 Oct 2000 17:51:20 +0000 |
| Subject: | Re: I NEED HELP> REALLY BAD | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22470@lists.php.net to get a copy of this message | ||
Hi Shawn,
use this:
fdffp = fopen("$membername/save.txt", "w");
fwrite($fdffp, $data, strlen($data));
fclose($fdffp);
It will work, dont foget to chmod directories.
Ahmad Anvari
----- Original Message -----
From: Shawn Dason
To: php-general@lists.php.net
Sent: Saturday, October 28, 2000 8:16 PM
Subject: [PHP] I NEED HELP> REALLY BAD
Hello.I need help from someone.I am developing a Role Playing Game in
> PHP.Im trying to make it so you can save and continue later.Each person
> will have a directory /$membernumber/.In that directory I need to
> somehow create a file save.php or save.txt or any file that can contain
> some text.I then want to fopen and fwrite the file with the info.
>
> If someone has ANY KNOWHOW on how to do this I would REALLY appreciate
> this.Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net