LinuxQuestions.org
Help answer threads with 0 replies.
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, 03: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, 11: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:52 AM
Unique Set-up (at least I think it is) wolfhound Linux - Newbie 1 03-17-2004 04:48 PM
Samba - a unique problem cjpsparks Linux - Networking 4 10-02-2003 08:38 PM
help...installation problem..unique kapilmarwah Linux - Software 3 07-25-2003 10:21 AM
unique telnet problem morganwolfe Linux - Networking 4 01-27-2002 03:49 PM

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

All times are GMT -5. The time now is 03:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration