Home arrow Forum

Remository Forum

 


David

 
Anti-Leach - 2005/08/22 20:40 Hi,

It would nice if the anti-leach prefix is not generated from $mosConfig_absolute_path as it is fix for all files.

For security reasons I suggest to have it generated from system date and time.

Therefore, in the function gotuploadfile I suggest to change the respecive line this way:

$leach_code = substr(md5(date('r')),0,8);

Also, it would be better not to have the full file name set as default file title. The respective line can look like this:

if ($file->filetitle == '') $file->filetitle = $FileName;

David
  | | Sorry, you do not currently have permission to write here.

      Topics Author Date
    thread link
Anti-Leach
David 2005/08/22 20:40
    thread link
thread link Re:Anti-Leach
admin 2005/08/22 21:41

Menu

Budding author?

Could you write about software?  Packt Publishing is looking for authors for its new series of Beginners' Guides.  Take a look at their web site to find out more.

Login Form

Username

Password

Remember me
Password Reminder
No account yet?
Create one

Who is Online

Remository welcomes guests and registered users.

We have 20 guest online