This topic is locked

Creating a Link for Network Files

7/12/2008 12:50:58 PM
PHPRunner General questions
H
horsey_kim author

One of my clients has a network of about 50 computers. They have a server that they put a pdf or jpg of information that they want to access. The database I have been creating for them allows their customers and vendors to negotiate on products.
What I want to do is when they are in the database that I am creating for them that they be able to click a link and go to the file (pdf or jpg) and see file information on that item, this will cut down on their time they spend on getting files and have it with a simple click if they are on the phone in discussions with a customer or vendor.
I tried using the url feature and it will only work for a website address not an internal server on a network. I have tried to get it to work with just my simple c drive for testing purposes and it fails.
Any ideas for me to try <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=8970&image=1&table=forumtopics' class='bbc_emoticon' alt=':)' />
PS - I know there is a file option too to upload but they don't want the files on the internet only on the internal network in house. To help protect data.

J
Jane 7/14/2008

Kim,
use custom format on the View as settings dialog on the Visual Editor tab for this field.

Here is a sample:

file://<machine name>/<test directory>/testfile.pdf

S
swanside 7/14/2008

Or.
In your mySQL database create a field for your pdf's of jpegs, and set it to LONGTEXT
In PHPRunner go to this field and in the visual editor and click on the add page and double click on the item field you have. In edit as select file/image and tick the boxes as you please.
You can now upload a picture or file for others to open or download.