Temporary download page generator...

01-15-05, 11:46 PM
|
 |
Newbie Coder
|
|
Join Date: Jan 2005
Location: USA
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Temporary download page generator...
Hello. I don't know if this is possible (though I see these sorts of pages everywhere), but I need a script or something that can automatically create a temporary download page based off of a download link to a file on a certain subdomain on my website. Meaning, I need something that once I post a link to a file on a certain subdomain on my site, I want a script to create a temporary download page that the link goes to which just includes a little information that would be the same no matter where the link goes to, and then it would actually download the file after 10 seconds or so. It would be like clicking on a link and going to a temp page where, say, a few Google ads would be displayed and some text would say, "You're download will start in 10 seconds.... If you do not want to wait, please click here.", or something like that. Is there a script or something to generate such pages on the fly, no matter what file I link to, or would I have to manually create such a page per file (which would take way too much time)? Any suggestions or pointers would be great. Thanks. 
__________________
LittlBUGer.info
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." -- Albert Einstein
|

01-16-05, 03:34 AM
|
|
Wannabe Coder
|
|
Join Date: Nov 2004
Posts: 214
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
you can do it all in one file using a mysql database, pm me for more information,
__________________
Source Code Talk - Programming Discussion, Tutorials, and More!
|

01-16-05, 08:38 AM
|
|
Junior Code Guru
|
|
Join Date: Oct 2004
Posts: 460
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
use meta to refresh the page and start downloading the file. create the temporary download page in template, parse the template with the file (or such file masking) to download and here you go. you can do that in only several minutes. so easy..
__________________
just an ignorant noob with moronic solution...
|

01-16-05, 02:13 PM
|
 |
Newbie Coder
|
|
Join Date: Jan 2005
Location: USA
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
|
Originally Posted by moronovich
use meta to refresh the page and start downloading the file. create the temporary download page in template, parse the template with the file (or such file masking) to download and here you go. you can do that in only several minutes. so easy..
|
As I said, I'm not a great programmer (when it comes to web design), so could you enlighten me a little? I wont be uploading the files nor putting out the links myself, someone else will and there will probably be new files every week, so I don't see a way to do each page myself, if that's what you're asking. If you are saying something else, then please let me know. Thanks.  Any detailed information will be helpful.
@ phprogramming
I'll PM you in a minute... Thanks. 
__________________
LittlBUGer.info
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." -- Albert Einstein
|

01-17-05, 03:45 AM
|
|
Junior Code Guru
|
|
Join Date: Oct 2004
Posts: 460
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
here is a snippet, hope you understand
File lists:
1.thankyou.tpl
2.thankyou.php
3.download.php
__________________
just an ignorant noob with moronic solution...
|

01-17-05, 01:48 PM
|
 |
Newbie Coder
|
|
Join Date: Jan 2005
Location: USA
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
:)
Like I said I'm not really a PHP programmer. I can only program somewhat in Assembler, C++, and Java. What that looks like above is incomplete code (meaning you want me to code and fill in several gaps) but I can't be sure. I would like something that is mostly complete or at least some very detailed instructions on how to go about something. I don't quite understand the syntax very well, so it's hard for me to follow what you've written, plus I don't have a ton of time to test and rewrite and test some more. Please, if anyone can help me with some complete (or nearly complete) and detailed (such as code having many comments on what's going on) or other instructions, please feel free to post. I really appreciate everyone's help and responses. Thank you. 
__________________
LittlBUGer.info
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." -- Albert Einstein
|

01-17-05, 02:18 PM
|
 |
Newbie Coder
|
|
Join Date: Aug 2004
Location: CA USA
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hello
that is a somewhat complicated script and if ur gona get soemone to build it for you because it is timeconsumming so.........
do you have any budget?
just so people can see if it is worthit to take that much time so.....
|

01-17-05, 03:56 PM
|
 |
Newbie Coder
|
|
Join Date: Jan 2005
Location: USA
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Possibly...
Yes I have a budget, if that is what needs to happen to motivate some people to help (unfortunately). I don't know what the cost would be but I wouldn't expect it to be very high. If anyone will do such a thing for a price, throw a price out and a way of payment and I'll let you know. I may also need help with another script, though the other would be much simpler (I think). Thank you. 
__________________
LittlBUGer.info
"Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." -- Albert Einstein
|

01-17-05, 04:27 PM
|
|
Junior Code Guru
|
|
Join Date: Oct 2004
Posts: 460
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
hello littlebuger,
why i only wrote code snippet is because it's pretty simple and you can try a google search on how to do that.
anyway, check your pm. it will avoid this thread getting longer.
thanks
__________________
just an ignorant noob with moronic solution...
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|