Header use in PHP

rasit7

New Member
Pretty simple question: which one of these two PHP (version 5+) header call is the "best"?\[code\]header('Not Modified', true, 304);header('HTTP/1.1 304 Not Modified');\[/code\]I'm pretty sure the first one is the most polyvalent one, but just curious if PHP would "fix" the second one if under HTTP 1.0...Thanks!Edit: One of these header crashes PHP on my Web host. Follow-up question at:http://stackoverflow.com/questions/2104655/php-header-call-crashing-script-with-http-500-error
 
Back
Top