Peruttu

LIGHTTPD, I need somebody to modify code to add new feature.

If you know how lighttpd ([url removed, login to view]) working you must know that in lighttpd exist "X-LIGHTTPD-send-file" ([url removed, login to view]) function to send large files with lighttpd to users instead of using PHP (I must use php to give access to users and also to track downloads and also to stop hotlinking etc.)...

All of this working great, but I have one problem, I need to count 100% downloaded files by users and only way how I can do that is with PHP script but if I use X-LIGHTTPD-send-file lighttpd stop my current php script and start file download as static file and what I need is to add function to lighttpd that will back lighttpd to PHP script after file download 100% finished (this can be some other php file) and I`ll execute small php/mysql code to count that file downloads....

In this moment I using lighttpd 1.5 ([url removed, login to view]) and I need patch to enable this function...

Look like this function exist in nginx and they call it post_action, but I don`t know is that what I need and if that what I need I need that in lighttpd...

I hope that somebody can work on this...

NOTE: I know that I can download files with PHP and on that way count file download but that using more cpu and ram and that is not good, that is why I need file download with lighttpd like and static file...

Thanks.

Taidot: C-ohjelmointi, Linux, PHP

Näytä lisää: lighttpd download file ram, what can i do with php and mysql, net by need, i don t know, how code, lighttpd send large files patch, lighttpd send file lighttpd, lighttpd send file php, php download lighttpd, count downloads lighttpd, ram c, new downloads, i do not exist, mysql wiki, ram, modify code, i need work, how to send files, how do i know, gz, code with new feature, php modify php file, php cpu 100, php script execute, enable php function

About the Employer:
( 6 reviews ) Lamovita, Bosnia and Herzegovina

Projektin tunnus: #462802