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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to