LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-26-2005, 02:17 PM   #1
latheesan
LQ Newbie
 
Registered: Jun 2005
Posts: 9

Rep: Reputation: 0
unique upload system


I have a really good internet connection, which i want to make use of it by combining it with my 200 gig hard drive into a file hosting site.

The above task, i have no problem at all.

the problem is that, i need a simple upload system/script that does these following tasks:

1. basic function (upload the file to the given folder on server)

2. show link to the file as an id, example (download.php?id=512) OR show a greeting message saying, "File has been uploaded and your id is 512" and then, to download the file, they have to enter a unique id (examle 512) at the home page, where it says, pick up the file

3. weather they are given the link to the file or just the id number, i want them to be taken to the downloading page where they either wait few seconds before download starts or where they see ads on a page where download of the file begins

anyone help me plz
 
Old 06-26-2005, 10:19 PM   #2
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Have a look at www.php.net for information on how to do this in php.
1. File uploads in php: http://ca.php.net/features.file-upload
2. Very standard php code
3. Standard HTML (put on the page with ads: this will start a download after the page is loaded):
Code:
<head>
<META HTTP-EQUIV="Refresh" CONTENT="3; URL=http://www.you.com/download_file.php?id=502">
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
IglooFTP-PRO refuses to upload files in folder when I upload folder eBopBob Linux - Software 0 08-27-2004 05:52 AM
Unique Set-up (at least I think it is) wolfhound Linux - Newbie 1 03-17-2004 03:48 PM
Samba - a unique problem cjpsparks Linux - Networking 4 10-02-2003 07:38 PM
help...installation problem..unique kapilmarwah Linux - Software 3 07-25-2003 09:21 AM
unique telnet problem morganwolfe Linux - Networking 4 01-27-2002 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration