Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 10-16-2005, 01:48 PM   #1
Fully Optimized
 
Join Date: Jun 2005
Posts: 3,275
Send a message via ICQ to DJ Stephen Send a message via AIM to DJ Stephen Send a message via MSN to DJ Stephen Send a message via Yahoo to DJ Stephen
Default Excel Documents

In HTML is there a way that i can setup it up so someone can download a file? I need the code to do this.
Thanks in advabnce.
__________________

DJ Stephen is offline   Reply With Quote
Old 10-16-2005, 05:59 PM   #2
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 7,999
Default Re: Excel Documents

yes, you just use a simple anchor link...

<a href="/bin/link.exe">click here to download</a>
__________________

__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 10-16-2005, 06:00 PM   #3
Fully Optimized
 
UK31337's Avatar
 
Join Date: Feb 2005
Posts: 2,776
Default Re: Excel Documents

That'll do it, depending on the file type.

If it's a filetype the browser can display within itself without downloading e.g. .doc file, then it'll appear in the browser window.

Else, the download file dialogue box will appear, and the user can select the download options they want.
__________________
Master of common sense. If you don't like it, stop reading.
UK31337 is offline   Reply With Quote
Old 10-19-2005, 07:14 PM   #4
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 7,999
Default Re: Excel Documents

users can right click and say save target as...
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 10-20-2005, 11:46 PM   #5
In Runtime
 
Join Date: Sep 2005
Posts: 143
Send a message via AIM to EVILISCIOUS Send a message via MSN to EVILISCIOUS
Default Re: Excel Documents

Visit one of my website's media gallery at http://www.alienhub.com/media

You can even "download" image files, word files, html files and pdf files which are usually displayed within the browser.


Pretty cool huh
EVILISCIOUS is offline   Reply With Quote
Old 10-20-2005, 11:47 PM   #6
In Runtime
 
Join Date: Sep 2005
Posts: 143
Send a message via AIM to EVILISCIOUS Send a message via MSN to EVILISCIOUS
Default Re: Excel Documents

I can give you the script which does this if your web server supports ASP. There are many php ones out there too.
__________________

EVILISCIOUS is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 08:55 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0