Location: PHPKode > projects > Library Accounting System > library/storing.php
<?php
$url_blocker = "75726C00";
include "connect.php";
$doing = $_REQUEST['doing'];

$result = mysql_fetch_array(mysql_query("SELECT * FROM stored WHERE refurl = '$doing'  LIMIT 1")) or die(mysql_error());

if($result['type'] == "text/plain"){
echo str_replace(chr(13),"<br />",$result['content']);

}else{
  header("Content-type: $result[type]");
  header("Content-length: $result[size]");
  header("Content-Disposition: attachment; filename=$result[name]");

echo $result['content'];
}



?>
Return current item: Library Accounting System