Search results

  1. E

    MySQL server has gone away

    Not all people in my company have access to ssh or the knowledge to use it.
  2. E

    Renaming files with double click

    I was thinking, it would be really nice to rename files by clicking 2x on them, when using the list view. I've seen this in some sites, a double click changes the text into an input field and clicking outside the field turns the input back into text. It doesn't need to be a double click. A...
  3. E

    MySQL server has gone away

    Timeout in the mysql connection. The script must close it, download the file and connect again.
  4. E

    Minimal theme along with Flow theme

    296kb is the internal layout only, the file manager in the flow theme. You can't compress more than that. I used only php.
  5. E

    Minimal theme along with Flow theme

    I created a function to merge, minimize and compress all css into one .gz file. I end up with a 96.2kb file for the internal layout and 12.8kb for the external. Js is also compressed to one 263.0kb gz file.
  6. E

    MySQL server has gone away

    Hello. When moving large files between servers the connection to the mysql server is lost, the file is downloaded in the new server but the script can't update it in the database. You end up having the file action stuck in the "processing" state. And the move feature is more like a "copy"...
  7. E

    Moderators

    +1 But not for the designer. A designer will be able to execute php files on the account, he will be able to do anything an admin can do.
  8. E

    file leech plugin

    This will be good in a script to import files from the user's accounts in other filehosts. They would be able to migrate their files from other hosts.
  9. E

    Mix plan for Rewards plugin

    The rewards plugin already counts ppd + pps.
  10. E

    Problems tracking downloads in the rewards plugin

    The solution I gave in the last post will write the status "finished" when the user drops the connection, but this is easy to solve. if (connection_status() != CONNECTION_NORMAL) { $status = 'cancelled'; break; } ... if (SITE_CONFIG_DOWNLOADS_TRACK_CURRENT_DOWNLOADS == 'yes')...
  11. E

    Problems tracking downloads in the rewards plugin

    So, I guess people already know that using xsendfile will call the plugin early and log the download before sending the file to the user. The users may start the download and stop it after few bytes and still earn the money in the PPD program. Another issue is about partial downloads. Even...
  12. E

    Problems tracking downloads in the rewards plugin

    Hello. I've found several problems in the way the rewards plugin tracks downloads. Those problems can be exploited by users to earn money with incomplete downloads. I'll post details in a reply in this topic to protect sensitive information.
  13. E

    premium membership and premium downloads

    This was one of the firsts modifications I've made in my script. I just added a new public status for files and folders. When adding and editing a file/folder there are now 3 options, set it as public, private and premium only. This is useful for uploaders dividing files in multiple parts and...
  14. E

    ticket system

    Many companies using third party ticket systems just force users to register in the ticket system, or register them automatically with a random password. Steam for example forces you to have a different login to open support tickets.
  15. E

    2 ips

    Multiple ips have no effect on speed or performance. They are just 2 addresses pointing to the same server. You can put this extra ip into use by using it in the remote upload feature, downloading files with a different ip.
  16. E

    Urgent help please

    The cpanel option to backup to an external location just moves the backup file. It compresses it locally and them uploads to the external location. It wont work if you don't have enough free space.
  17. E

    Urgent help please

    Yes, it will work but you will have to change the chmod of all files to 777 otherwise the script will not be able to delete them. You can also transfer those files directly to your new server using rsync or scp in ssh.
  18. E

    xsendfile or xAccelRedirect and the downloads page

    I was reading the downloadTracker class and it connects to the mysql, sends an update and then closes the connection. This can affect the download speed depending on the latency and the update frequency. I recommend keeping the mysql connection open when the update interval is too short (10 or...
  19. E

    xsendfile or xAccelRedirect and the downloads page

    Well, yes, You see, in my leech the script downloads a file from one fileserver, writes it into disk for caching and sends it to the user. All of this on a loop using sockets. I can puch this process to up to 60Mb/seg downloading from another server with 1gbps. The bottlenech is the IO from the...
  20. E

    Geo-upload plugin

    I don't understand what you are trying to say with the vpn thing. I think you are mistaken speed with latency. Downloading from a server far away doesn't mean you download bandwidth will be low, it just mean your latency will be higher. The main reason of having servers in multiple countries...