Guest User

Untitled

a guest
Mar 21st, 2011
205
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. @set_time_limit($cfg['ExecTimeLimit']);
  3. if (!empty($cfg['MemoryLimit'])) {
  4.     @ini_set('memory_limit', $cfg['MemoryLimit']);
  5. }
  6.  
  7. // Start with empty buffer
  8. $dump_buffer = '';
  9. $dump_buffer_len = 0;
  10.  
  11. // We send fake headers to avoid browser timeout when buffering
  12. $time_start = microtime(true);
  13. $death_time = $time_start + ini_get('max_execution_time');
  14. /**
  15.  * Output handler for all exports, if needed buffering, it stores data into
  16.  * $dump_buffer, otherwise it prints thems out.
  17.  *
  18.  * @param   string  the insert statement
  19.  *
  20.  * @return  bool    Whether output suceeded
  21.  */
  22. function PMA_exportOutputHandler($line)
  23. {
  24.     global $time_start, $death_time , $dump_buffer, $dump_buffer_len, $save_filename;
  25.     $time_now = microtime(true);
  26.     if(ini_get('safe_mode') && ($death_time - $time_now) <= 2 )
  27.     {
  28.       echo "\nIt's gonna blow!!!\n";
  29.     }
  30.     // Kanji encoding convert feature
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×