--- [EMAIL PROTECTED] wrote: > I have a pdfs/documents saved in a field called 'content' on my db > and I want to create an active hyperlink so users can download. any > ideas how I can achive this. > > I am sure it is simple but cannot find an easy example posted. > > thanks, > > Ross
Hyperlinks are part of the Hypertext Markup Language (better known as HTML). HTML messages (better known as web pages) are managed by HTTP (Hypertext Transfer Protocol) servers. A tool (like a web browser) sends requests for HTML messages (web pages) by using HTTP to request them from various kinds daemons (web servers) (pronouced: DAY-mons not DEE-mons). There are several very popular daemons out there, the most often encountered are Apache (apache.org), and IIS (microsoft.com). Their responses are generated either by: a) sending a message explaining why the response failed (an error code) b) sending the file that was orginally requested, as is. c) processing some kind of script that generates a message in HTML (or any of several other standard information formats) that was requested of the daemon. With option C, there are a wide range of scripting languages that are used to generate/process the requested content: PHP, Perl, Python, Java, Javascript, VBscript, etc. What your question sounds like is a request to be shown how to write some server-side script (at the web server) to convert some data you have in your database into a message (file) that can be sent in response to a web browser's request for information (which can be initiated by the user clicking on a link). And you wanted to know how to format that link so that it becomes clickable. Am I close? Shawn Green Database Administrator __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]