Logo Search packages:      
Sourcecode: dacode version File versions  Download package

view_attach.php3

<?php
/* daCode _ http://www.dacode.org/
 * $Id: view_attach.php3,v 1.9.2.2 2003/02/08 21:19:53 ruffy Exp $
 */

      $topdir = '.';
      require $topdir."/dacode.php3";

      $id = $HTTP_GET_VARS['id'];
      if (!ereg("^[0-9]{1,}$", $id, $regs)) {
            echo lecho("Check you don't have a cookie called 'id'")."<br />";
            echo lecho("If yes remove it and come back!");
            exit;
      }

      if (!empty($id)) {
            $news = LoadClass('News');
            $attach = $news->view_attach($id);

      }

?>

Generated by  Doxygen 1.6.0   Back to index