Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- error_reporting(E_ALL);
- set_time_limit(0);
- ini_set('memory_limit','-1');
- header('Content-Type: text/html; charset=utf-8');
- ob_start();
- function clean() {
- ob_clean();
- header('Content-type: text/plain; charset=utf-8');
- $file = debug_backtrace();
- $array = func_get_args();
- if ( empty( $array ) ) {
- echo 'Variable Not Set';
- echo "\n\n";
- } else {
- foreach ( $array as $val ) {
- if ( !empty( $val ) && is_string( $val ) ) {
- echo $val;
- } else {
- var_dump( $val );
- }
- echo "\n\n";
- }
- }
- echo 'FileName : '.$file[0]['file']."\n";
- echo 'Line : '.$file[0]['line']."\n";
- die;
- }
- function curlTool( $url ) {
- $ch = curl_init();
- curl_setopt( $ch, CURLOPT_URL, $url );
- curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, false );
- curl_setopt( $ch, CURLOPT_SSL_VERIFYHOST, 2 );
- curl_setopt( $ch, CURLOPT_RETURNTRANSFER, true );
- $agent = 'User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)';
- curl_setopt($ch, CURLOPT_USERAGENT, $agent);
- $result = curl_exec( $ch );
- curl_close( $ch );
- return $result;
- }
- $path = 'fonts/';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement