code_junkie

how do i modify the first returned header on the fly

Nov 13th, 2011
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.09 KB | None | 0 0
  1. <?php
  2. if($_SERVER['HTTP_USER_AGENT'] == 'FooBot 1.2') {
  3. header("HTTP/1.0 200 OK");
  4. }
  5. ?>
Add Comment
Please, Sign In to add comment