473,320 Members | 1,719 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Downloading a File

I do not have many experience with PHP.

What is the way to download a file? In my website I want to give
access to my users to downlaod several files.

Thanks you
Jul 17 '05 #1
4 1534
Jalin <al*******@alfra.info> wrote:
What is the way to download a file? In my website I want to give
access to my users to downlaod several files.


Browsers already have such functionality, most of the times it's under
the right mouse button (something like "save URL as:"), only thing you
have to do is create a link: <a href='/foo/bar.zip'>bar.zip</a>

--

Daniel Tryba

Jul 17 '05 #2
Yes, I know this way, but I need to download a file without the use of
a link. For example: My user fill up a form (HTML) and then with PHP I
receive the fields of the form, send an email and start to download a
file. The last part of the process is what I need.


Daniel Tryba <ne****************@canopus.nl> wrote in message news:<cl**********@news.tue.nl>...
Jalin <al*******@alfra.info> wrote:
What is the way to download a file? In my website I want to give
access to my users to downlaod several files.


Browsers already have such functionality, most of the times it's under
the right mouse button (something like "save URL as:"), only thing you
have to do is create a link: <a href='/foo/bar.zip'>bar.zip</a>

Jul 17 '05 #3
On 29 Oct 2004 19:35:58 -0700, al*******@alfra.info (Jalin) wrote:
Yes, I know this way, but I need to download a file without the use of
a link. For example: My user fill up a form (HTML) and then with PHP I
receive the fields of the form, send an email and start to download a
file. The last part of the process is what I need.

If you stop top posting, I'll tell you how.

Daniel Tryba <ne****************@canopus.nl> wrote in message news:<cl**********@news.tue.nl>...
Jalin <al*******@alfra.info> wrote:
> What is the way to download a file? In my website I want to give
> access to my users to downlaod several files.


Browsers already have such functionality, most of the times it's under
the right mouse button (something like "save URL as:"), only thing you
have to do is create a link: <a href='/foo/bar.zip'>bar.zip</a>


--
gburnore@databasix dot com
---------------------------------------------------------------------------
How you look depends on where you go.
---------------------------------------------------------------------------
Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
| ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
DataBasix | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³
| ÝÛ³ 3 4 1 4 2 ݳ޳ 6 9 0 6 9 ÝÛ³
Black Helicopter Repair Svcs Division | Official Proof of Purchase
================================================== =========================
Want one? GET one! http://signup.databasix.com
================================================== =========================
Jul 17 '05 #4
> Yes, I know this way, but I need to download a file without the use of
a link. For example: My user fill up a form (HTML) and then with PHP I
receive the fields of the form, send an email and start to download a
file. The last part of the process is what I need.


http://groups.google.com/groups?selm...ing.google.com

If it doesn't fit you, searching in the newsgroup via google gives you
other solutions.
Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Luke StClair | last post by:
Only marginally belonging in this newsgroup... but oh well. I've just started writing in python, and I want to make the files available on the web. So I did the standard <a...
0
by: TJ | last post by:
Hi, I've written code web-based uploading and downloading. Here is some code for it. For saving file into MS-SQL database, SaveFileIntoDB(HttpPostedFile file) { int fileLength =...
2
by: Bala | last post by:
Hi I am trying to download the PDF files from my webserver using ASP.Net. All my files are stored at F Drive on webserver. Like this F:\Main Folder\Sub Folder\Files\File1.pdf I am...
1
by: just.starting | last post by:
Hi, My dot net client downloads files and checks for any new files time to time. The server is apache2.0.53 server. So what happens is that my file download thing works fine if I dont try to call...
3
by: just.starting | last post by:
Hi, My dot net client downloads files and checks for any new files time to time. The server is apache2.0.53 server. So what happens is that my file download thing works fine if I dont try to call...
5
by: fniles | last post by:
We created an ActiveX control and marked it as safe for scripting using Implements IObjectSafety. We then created a CAB file and signed it using Verisign. We also created a license file (LPK file)...
0
by: just.starting | last post by:
I am having problem while downloading files from an apache server2.0.53 with php4.3.10.While downloading some files it generally stops after downloading some specific amount and then stops...
2
by: Tomas Martinez | last post by:
Hi there! I'm trying to download a file in my asp.net web, but when downloading it from a Firefox browser, instead of downloading the example.exe file, it's downloading example.exe.htm. My code...
1
by: DBC User | last post by:
Hello, I would like to copy a very large file (80MB) from the web, which is the best approach for downloading such a large file and also how can I show how much percent completed to user. I...
3
by: Chuck Renner | last post by:
Please help! This MIGHT even be a bug in PHP! I'll provide version numbers and site specific information (browser, OS, and kernel versions) if others cannot reproduce this problem. I'm...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.