Re: cookies and Global variables
| From: | Michael Stolovitzsky | Date: | Thu, 06 Jun 2002 11:32:17 +0000 |
| Subject: | Re: cookies and Global variables | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-19641@lists.php.net to get a copy of this message | ||
Walid Dib wrote:
> Hello
>
>
> 1) I want to use cookies for my site, how can I do it? My browser warn me
> that headers are already sent!!
>
"output buffering"
> 2) How can I use the same variables on all pages:
> for example: $login, I need this variable on all pages to send
> requests to a MySQL database.
"global variables"
"sessions"
It's all in the manual.
>
>
> Thanks!!!!
>
>
> DIB Walid
--
"PHP is a real-world language whose sole purpose is to solve very real-world
problems" - Rasmus Lerdof