Hello,
I'd like to know how to, in the same page :
include("postgres.inc");
// all my db functions to access postgres
// (my scripts must be dbm independant
connect(...checks if user_id match the password given...
if true, I'd like to set a cookie.
BUT (as you can imagine) it doesn't work because of the include statement BEFORE the setcookie()
So my question is :
how can we use functions writtend in an include file and THEN, use the header() or setcookie() PHP functions ???
An answer would be great :-)
thanks for your help.