When you get the "Header already sent" error, that means that you are trying
to send header info, e.g. cookie info AFTER you've already sent some header
info. This is usually seen when your php script has an include in it (above
your cookie stuff) that contains some html. Check your includes, and make
sure that the header info is the first thing sent.
Sr. UNIX Administrator
"Pay It Forward"
From: Dib, Walid (MED, Stagiaire GEMS) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 06, 2002 2:06 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP-DB] cookies and Global variables
that headers are already sent!!
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.