I've ran into a problem and have not figured out a way out of it. Not even sure if I'm coding correctly.
I created a nice PHP web application for my company. Users sign on, pull up data and even access files.
The opening of files is where I am stuck at.
in my PHP page, i was programming like this:
<a href="file:<?php echo $server; ?>/<?php echo $fldrloc['location']; ?>/<?php echo $fileloc['name']; ?>" target='_blank'>
I was able to open files while signed on as myself (full rights to everything). I then released a demo version for other users to try out and they could not access files.
I'm gathering that this is since they do not have permission to the stored location.
I then tried to render the files using http:// instead of file://. This doesnt work at all (even for me) as it only comes up as page cannot be displayed.
I can access files using my browser (IE). I go to other websites and open PDF files on their site by using the http link. I try from my browser to access one of my PDF files and get page cannot be displayed.
am I way off base here? can someone point to what i should be doing correctly?
thx
I created a nice PHP web application for my company. Users sign on, pull up data and even access files.
The opening of files is where I am stuck at.
in my PHP page, i was programming like this:
<a href="file:<?php echo $server; ?>/<?php echo $fldrloc['location']; ?>/<?php echo $fileloc['name']; ?>" target='_blank'>
I was able to open files while signed on as myself (full rights to everything). I then released a demo version for other users to try out and they could not access files.
I'm gathering that this is since they do not have permission to the stored location.
I then tried to render the files using http:// instead of file://. This doesnt work at all (even for me) as it only comes up as page cannot be displayed.
I can access files using my browser (IE). I go to other websites and open PDF files on their site by using the http link. I try from my browser to access one of my PDF files and get page cannot be displayed.
am I way off base here? can someone point to what i should be doing correctly?
thx