Hi ,
I want to access a pdf file by clicking a hyperlink using PHP.the pdf file is stored on a shared folder of a storage machine.It work with internet explorer.But with firefox and chrome its not working.Showing error on chrome as
"The loading of the URL has been blocked for security reasons."
And on firefox showing as "security error".
How to enable this on firefox and chrome?I am using xampp software.
The code I used listed below.
<?php
$path1="file://192.168.0.230/pdf/p.pdf";
?>
<a href="<?php echo $path1; ?>">PDF click</a>