pearweb_manual
[ class tree: pearweb_manual ] [ index: pearweb_manual ] [ all elements ]

Source for file 404-manual.php

Documentation is available at 404-manual.php

  1. <?php
  2. $file $_SERVER['REQUEST_URI'];
  3. //try english file
  4. $enfile str_replace('/manual/''/manual/en/'$file);
  5. if (file_exists(dirname(__FILE__'/../' $enfile)) 
  6.     header('HTTP/1.0 301 Moved permanently');
  7.     header('Location: ' $enfile);
  8.     exit();
  9. }
  10. ?>
  11. <?php response_header('Error 404')?>
  12.  
  13. <h1>Error 404 - document not found</h1>
  14.  
  15. <p>The requested document <i><?php echo strip_tags($_SERVER['REQUEST_URI'])?></i> was not
  16. found in the PEAR manual.</p>
  17.  
  18. <p>Please go to the <?php echo make_link('/manual/''Table of Contents')?>
  19.  and try to find the desired chapter there.</p>
  20.  
  21. <?php response_footer()?>

Documentation generated on Mon, 11 Mar 2019 16:04:25 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.