script.php 248 B

1234567891011
  1. <?php
  2. error_reporting(0);
  3. if ( $_REQUEST['header'] ) {
  4. if ( $_REQUEST['header'] == "ecma" ) {
  5. header("Content-type: application/ecmascript");
  6. } else {
  7. header("Content-type: text/javascript");
  8. }
  9. }
  10. ?>
  11. ok( true, "Script executed correctly." );