| View previous topic :: View next topic |
| Author |
Message |
hitec7
Joined: 09 Aug 2007 Posts: 8
|
Posted: Sep 07, 2007 1:27 pm Post subject: A bug + New Features? :) |
|
|
Ok i found a bug in the scipt if the uploader upload file with name like "i hate u.rar" (a filename with spaces)
it all works ok exept when he is clicking the download button he will download a file named "i" instead of "i hate u.rar"
thats has to do with file naming and spaces i dont know cgi and i dont wanna kill the script lol
so are you thinking for some new features in the script? ill realy like to se some
1st. Dowload delay 10 secs countdown for example... (configured in config file)
2nd. if possible Vip users with paypal subscriptions who have some more priviliges uploading or download speeds or somthing like that...
just some suggestions for u to consider  |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2109 Location: UFO Lab
|
Posted: Sep 07, 2007 1:37 pm Post subject: |
|
|
Bug: yea, sorry about this, it was discovered recently. It looks this happens only in FF browser.
Here goes quick fix: in index.cgi find
| Code: | | print"Content-Disposition: attachment; filename=$fname\n"; |
and replace with
| Code: | | print qq{Content-Disposition: attachment; filename="$fname"\n}; |
Features: thanks, I had plan to implement delay, not sured about PayPal yet, also maybe will add ADSense easy integration. |
|
| Back to top |
|
 |
hitec7
Joined: 09 Aug 2007 Posts: 8
|
Posted: Sep 07, 2007 5:30 pm Post subject: |
|
|
many thanks it was the "" thingies
and i forgot a major feature is (url / remote uploads) its very good for this script  |
|
| Back to top |
|
 |
|