Location: PHPKode > projects > Akasha > attachment_delete.php
<?

if ($akashaID == $ID) {
	include ("includes/global.inc"); 		// Global Variables
	include ("includes/functions.inc"); 	// Global Functions

		$dosyaadi = "msgbody.txt";
		$fp = fopen("$attach_dir$ID######$dosyaadi", "w+");
		if ($fp) {
			$sonuc = fputs($fp, $msgbody);
			fclose($fp);
		}

	@unlink("$attach_dir$slcsil");

	Header("Location: attachments.php?ID=$ID&to=$to&cc=$cc&bcc=$bcc&subject=$subject&attached=1");
	
} else {
		Header("Location: main.php?error_code=1");
}

?>
Return current item: Akasha