[PHP] Cookies in non-frame sites

2006-02-26 Thread emil
Hello, Most sites today seems to be based on this style: include(top); include(current_page); include(bottom); If one wants to set cookies from current_page, how should that be handled with as clean source as possible? Before I had the top and bottom output as functions that are called from

Re: [PHP] Cookies in non-frame sites

2006-02-26 Thread chris smith
Most sites today seems to be based on this style: include(top); include(current_page); include(bottom); If one wants to set cookies from current_page, how should that be handled with as clean source as possible? From the php manual: Like other headers, cookies must be sent before any