Hello There, Guest! › Register

MySubscriptions 2.2 released.
Looking for a custom plugin for your site? Ask here for a quote.

MyDownloads 1.4
#21

OK, thanks, I'll check it out.

I uploaded the new files, and ran the upgrade script.
The new settings look great, but...

When testing a purchase, the file 'mydownloads.php' is downloading instead of the .zip file.
My new signature has not been created, yet. Angel
#22

Ok fixed that issue and increased security. A new file name is generated before it is prompted to be downloaded. This is good because otherwise the user would know the file name and if your downloads path was the default one the user could download it directly.
As a new name is generated, it is "impossible" (nothing is impossible) to know the real name of the files.
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#23

Pirata, could you made setting for any limitation of signs on filename?
#24

What do you mean by signs? like / | % " $ ?
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#25

I'll test it again later today, thanks Smile
My new signature has not been created, yet. Angel
#26

(07-06-2009, 11:30 PM)Pirata Nervo Wrote: What do you mean by signs? like / | % " $ ?

Either that or how many letters allowed in file-name.
[Center][Image: eiw9hy.png]
[Image: 15re2q8.png]
!Liverpool 4 Life![/Center]
Pirata Nervo Wrote:IE6 is weird and sucks
#27

Thank you, Brother! Very Nice Work!

When you have the Final Version out, i made a german translation from the Plugin. Smile
#28

(07-06-2009, 11:14 PM)DamYan Wrote: Pirata, could you made setting for any limitation of signs on filename?

(07-06-2009, 11:30 PM)Pirata Nervo Wrote: What do you mean by signs? like / | % " $ ?

Maybe he intended to say "size", the generated file-names are extremely long. I love the security, but could they be shorter, please?**

###

RC3 is working great so far, nice job. Smile


### EDIT:

**This works...
I'm just trying to help, it's cool if you don't want to use the code:
((Starts at line 801))

PHP Code:
function rand_string$length ) {
    
$chars "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";    

    
$size strlen$chars );
    for( 
$i 0$i $length$i++ ) {
        
$str .= $charsrand0$size ) ];
    }

    return 
$str;
}

$new_string rand_string);

    
// generate a different name for the file to make sure the user will not know the original file name after downloaded
    
$dl['name'] = "downloaded_file_"$new_string .".".$ext

produces a shorter random file name like this:
Code:
downloaded_file_TuZ5HeR.zip
My new signature has not been created, yet. Angel
#29

Ok if that's what he means then I am going to do it differently Tongue - Almost done =) RC4 coming soon
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.
#30

RC4 is up now Smile
To download our paid plugins and receive support you must be a paid subscriber. Click here for more information.




Users browsing this thread: 1 Guest(s)