Hi every one,

Can anyone help me on the problem? The scenario goes like this.

I have lots of files (.pdf, .doc, and .xls) stored on my sever. I want the user to access the files. I mean, they can open it for some review purposes but I don't want them to save it on their local machine. Is the possible?

Here's my sample codes:
<?php
echo "<a href='folder/file.pdf'>"."Sample Files"."</a>";
?>

I want that when they click the Sample Files link, the file.pdf will open so they can read it, but i don't want them to save it on their local machines.

Please help. Thanks in advance

Or if not possible on PHP, maybe in Visual Basic 6.0.
If using 2 programming language for the research.

Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.