Problem in file opening security.

[email protected] ("Balamurugesan.K")
Newsgroups php.webmaster
Message-ID <002401c955f1$010edb80$1e00a8c0@balamurugesank>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.