A
Anonymous
Guest
I have a little problem in that I'd like to save some information to a database and also save some info to the user's h/d in a cookie. The problem is that I can't save cookies after headers have been sent, and after the db has been written, I'd like to show a thankyou message, so I need to send headers sometime before this.
save to cookie
show header
write to db
"thanks"
But after I write to the cookie, the processing on that php file will just stop - is there anything I can do here?
save to cookie
show header
write to db
"thanks"
But after I write to the cookie, the processing on that php file will just stop - is there anything I can do here?