0

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>
2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by divyakrishnan
0

I am not so sure, but give this a try:
Maybe it's a browser based problem and in that case I can't help you but you can try and post your question here:
http://groups.google.com/support/?hl=en

And if your lucky, maybe this could help:
Try changing the CMOD (the permissions) of the file and folder.
Change to 777.

0

It is a browser based problem.It works fine with IE.But it will not be work with other browsers.Showing security error.Is there any solutions to solve ?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.