RE: [PHP] global variables
| From: | John Holmes | Date: | Sun, 05 May 2002 04:59:31 +0000 |
| Subject: | RE: [PHP] global variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96098@lists.php.net to get a copy of this message | ||
This is simpler than cookies?? Anyway, that's how you have to do it.
Fopen(), fwrite(), fclose()...not any way simpler that I know of.
---John Holmes...
> -----Original Message-----
> From: Jule [mailto:jslootbeek@clarku.edu]
> Sent: Saturday, May 04, 2002 6:23 PM
> To: php-general@lists.php.net
> Subject: [PHP] global variables
>
> Hey,
> i'm just wondering if there is another way to write global variables
to a
> global.php, now i just the whole fopen etc script, where i open a file
and
> write the sctring $number_right = [whatever number it is] to the file,
but
> is
> there a different way to write it to the file with one simple command?
>
> i could use cookies, but i prefer a simpler way.
>
> thanks
>
> Jule
> --
> Jule Slootbeek
> jslootbeek@clarku.edu
> http://blindtheory.cjb.net
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php