BOOL WINAPI ReadProcessMemory(
_In_ HANDLE hProcess,
_In_ LPCVOID lpBaseAddress,
_Out_ LPVOID lpBuffer,
_In_ SIZE_T nSize,
_Out_ SIZE_T *lpNumberOfBytesRead
);
SIZE_T bytesRead;
ReadProcessMemory(hProcess, 0, Buf, (unsigned long)20, &bytesRead);
INSERT INTO ... ON DUBLICATE KEY UPDATE...
location /video/ {
if ($request_filename ~ "^.*/(.*)$"){
set $fname $1;
add_header Content-Disposition 'attachment; filename="$fname"';
}
}
add_header Content-disposition "attachment; filename=$1";
location ~* /video/(.*)$ {
add_header Content-disposition "attachment; filename=$1";
root /var/www/site.com/video;
}