Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- set_time_limit(0);
- header('Content-Type: text/html; charset=utf-8');
- $file_name = 'D:\xampp\htdocs\_tests\resume\sql-dump.sql';
- $file_handle = fopen($file_name, "a+");
- $php_input_handle = fopen("php://input", "r");
- while ( $data_chunk = fread($php_input_handle, 4096) )
- {
- $length_chunk = strlen($data_chunk);
- fwrite($file_handle, $data_chunk, $length_chunk );
- }
- fclose($file_handle);
- fclose($php_input_handle);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement