![]() |
trying to mod download.php
trying to mod this download.php to reject members who havent been authed by the email.
heres what i got: PHP Code:
any ideas? |
Out of curiousity why don't you just set the appropriate permissions for the 'Users Awaiting Email Confirmation' group? Just set 'Can download attachments' to 'No'.
|
no, the download.php is an external file from vbulletin, my can download attachments is already at "no"
|
Ah, ok. I should have noticed this wasn't a normal vB file!
|
especially with the
PHP Code:
anyways still looking for a solution :) |
I seemed to fix this by totally re-doing my download.php and putting it in my forums directory. anyways heres what i did:
PHP Code:
Usage: if you have www.domain.com/files/yap.zip you would make the link: http://www.domain.com/forum/download.php?file=yap.zip if you have a link like: www.domain.com/files/coolstuff/yap.zip you would make the link: http://forums.voogru.com/download.ph...lstuff/yap.zip and ect. *wonder if this would qualify as a hack :paranoid: |
What's the point in this hack if you can see the filename in the URL? You can just go straight to it without using download.php.
|
you dont understand it, if you set the ure to refresh to like
PHP Code:
download.php?file=yap.zip and it would access Code:
files/secretfolderthatnoonewouldbeabletofigureout/yap.zip |
In that case don't use META tags, it's very easy to find them out (just view the HTML source!). Use PHP's header() function. (i.e header('Location: yourfile');) :)
|
yeah but they will have to be quick if u set the refresh to 0
|
All times are GMT. The time now is 10:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|