Problem in file opening security.

From: Date: Thu, 04 Dec 2008 09:16:34 +0000
Subject: Problem in file opening security.
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-3195@lists.php.net to get a copy of this message
Dear sir i am writing some php code for display the pdf files . plese refer the code below . now i want to disable save a copy and save as options please help me for this $MYLOBID =1; $query = 'SELECT BLOBDATA, BLOBID FROM TEST WHERE BLOBID ='.$myblobid; $stmt = oci_parse ($conn, $query); oci_bind_by_name($stmt, ':myblobid', $myblobid); oci_execute($stmt, OCI_DEFAULT); $arr = oci_fetch_assoc($stmt); $result1 = $arr['BLOBID']; $result = $arr['BLOBDATA']->load(); header('Content-Type: application/PDF'); echo $result; oci_free_statement($stmt); oci_close($conn); // log off REGARDS BALAMURUGESAN.K

« previous php.webmaster (#3195) next »