© www.dtp-aus.com
![]()
| Hyperlinks For Downloads |
|
The "a" tag can be used just as successfully to direct the browser to a "MIME" type file: Snazzy/Cool/You-Beaut downloads... Well, on the second page you do also offer a link to the file just in case something goes wrong or the visitors browser cannot handle imbedded meta redirects, BUT you ALSO add this meta tag to the header section of your (the second) page: So it's not magic, just a different process. "MIME"... eh ? Those extensions when recognised, even by double clicking file names in folders, will automatically open the "associated" program. ALSO your computer system will have separate info describing what to do with those files, and many other file types most of which will not even have an associated program on your computer. Well, a web server is also equipped with lists of common and not so common file extensions AND when a request is received by a web server to return a specific file the server FIRST sends an HTTP HEADER which also contains a "MIME" directive...
".html" will return [ type="text/html" ] in the header. Many MIME directives are not recognisable to most of us and if you ever come across a list of them one day do not be concerned; i.e. don't wonder where all those associated programs are ? Therefore the browser recognises say a ".csv" as a file not associated with itself and opens a dialogue box asking you to either "open" the file as it is returned in an associated program on your PC, OR download as a file in to a folder of choice on your computer. Back to the meta tag: The browser is not interested in ".zip" files. So instead of opening yet another web page after the (sample) 3 seconds the browser opens the "open/save" dialogue box for you asking you to do something with the file. That's it. Simple. Doh ! Not so simple - there's always a catch. Anyone can look at your html code and discover the URL to your download file(s) or copy the shortcut via their browser if it is just a simple hyperlink. So what ? Redirects via CGI 1) The actual file URL is hidden from most people, the CGI program organises the "redirected" URL, Food for thought aye ? This page is not to promote it, but I was the first to make publicly available such a simple CGI program years ago. It is called "LnkinLite" and can be accessed via my "Scripts" pages (or you can request we "professionally" install it for you for a nominal fee). LnkinLite can even be used to click-count email imbedded links too.
And if you don't have a decent real web site with CGI and many other goodies for future expansion and one day you want to get your own domain name, as of June/July 2003 I will be offering full featured Web Site Hosting for about AUD$16/month - around only 60%-65% of that in US$... and we will be installing my free-to-use perl CGI scripts with each account. |
| Over 120 pages: All major topics divided into Classrooms | ||||
| Free Backgrounds & Buttons! | DTP and HTML | "My First Page" HTML lessons | ||
| Tutorial Text Search | Perl CGI Scripts | Typography & Layout | ||
| 4 pages of Links | Visitors Book | Perl Scripts Forum n/a | ||
| Free Links page | Feedback Form | Q/A contact Forum | ||
| pages Designed & Published - Ron F Woolley | |
| ©1997 '98. Last Revised: Friday, 31 October 2003 22:04 |