If PHP sends two headers, which will be effective? -
if have 2 headers like:
header("cache-control: public"); header("cache-control: private"); which effective (first or last)?
on script second header() used:
<?php header('location: http://google.de'); header('location: http://stackoverflow.com'); on script second header() used:
<?php header("cache-control: public"); header("cache-control: private"); if header defined multiple times, last 1 used!
Comments
Post a Comment