On Wed, Aug 17, 2011 at 3:52 PM, pramod <[email protected]> wrote:
> hi > can some one please help me in linking a file(pdf) from file-system. > i am developing a website for my collage and i need to link the articles > present in the file-system in the webpage. > for this i am creating a database with article name author and article > location and if the user click on the link then i am trying to retrieve the > file location from database and trying to display it. but it gave error > after clicking the link please help me. > > -- > Mailing list guidelines and other related articles: > http://lug-iitd.org/Footer > you have to put those article (PDF) files in your web server anywhere like doc/somefile.pdf retrieve the location of file from database it should be exactly where the file is located. you can create link using this location when user click on that link he/she will be redirected to that location either you can use document.location to point to that file using javascript . Be sure you have permission to access this file via url. -- (\/)/\ /-/ ES /-/ -- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
