Go Back   Web Design & SEO Company > Knowledgebase

Knowledgebase Articles and information about running a website, cPanel and various hints and tips. Here you will find tutorials on php, MySql, .htaccess, cron, SEO, Search Engines, CHMOD, FTP, CSS, HTML and various other hints and tips on running and Administrating a website.

Reply
 
  #41  
Old 10-06-2008, 04:17 AM
Admin's Avatar
Administrator
 
Join Date: Jan 2007
Location: Taree
Posts: 613
Default

Helpplease this one is yours:

PHP Code:
<?PHP

php

if (!defined('XCART_SESSION_START')) { header("Location: ../../"); die("Access denied"); }

$GLOBALS['wcmcdseoReplaceCats'] = array();
$GLOBALS['wcmcdseoReplaceManus'] = array();
$GLOBALS['wcmcdseoReplaceProds'] = array();
$GLOBALS['wcmcdseoReplacePages'] = array();

function 
smarty_outputfilter_cdseopro($source$smarty)
{
    global 
$wcmcdseoConfig;
    global 
$wcmcdseoWebDir;
    global 
$http_location$https_location;

    
$source preg_replace_callback('~<title>.*?</title>~is''wcmcdseoPageTitleCallback'$source1);

    if (!empty(
$GLOBALS['wcmcdseoReplaceMetaKeywords']))
    {
        
$source preg_replace('~<meta\s++[^>]*?name\s*+=\s*+"keywords"[^>]*+>~i'''$source1);
        
$source preg_replace('~(?<=</title>)~i'"\n".'<meta name="keywords" content="'.htmlspecialchars_no_double_encode($GLOBALS['wcmcdseoReplaceMetaKeywords']).'" />'$source1);
    }
    if (!empty(
$GLOBALS['wcmcdseoReplaceMetaDescription']))
    {
        
$source preg_replace('~<meta\s++[^>]*?name\s*+=\s*+"description"[^>]*+>~i'''$source1);
        
$source preg_replace('~(?<=</title>)~i'"\n".'<meta name="description" content="'.htmlspecialchars_no_double_encode($GLOBALS['wcmcdseoReplaceMetaDescription']).'" />'$source1);
    }

    
$url $GLOBALS['wcmcdseoUrlVar'];
    
$url parse_url($url);
    
$url $url['path'];

    
$url preg_replace('~^'.preg_quote($wcmcdseoWebDir.'/''~').'~'''$url);

    if (
strpos($url'/') !== FALSE)
    {
        
$url = ($_SERVER['HTTPS'] == 'on') ? $https_location $http_location $smarty->get_template_vars('dir_mall');
        
$source preg_replace('~<base[^>]*+>~i'''$source1);
        
$source preg_replace('~(?=</head>)~i''<base href="'$url .'/" />'."\n"$source1);
    }

    if (
$wcmcdseoConfig['setting'][1]['url'] OR $wcmcdseoConfig['setting'][1]['linkTitle'])
    {
        
$GLOBALS['wcmcdseoReplaceCats'] = wcmcdseoGetReplacements('category');
        
$source preg_replace_callback('~<a\s++[^>]*?href\s*+=\s*+"home\.php([^"]*+)"[^>]*+>~i''wcmcdseoCategoryCallback'$source);
    }

    if (
$wcmcdseoConfig['setting'][3]['url'] OR $wcmcdseoConfig['setting'][3]['linkTitle'])
    {
        
$GLOBALS['wcmcdseoReplaceManus'] = wcmcdseoGetReplacements('manufacturer');
        
$source preg_replace_callback('~<a\s++[^>]*?href\s*+=\s*+"manufacturers\.php([^"]*+)"[^>]*+>~i''wmcdseoManufacturerCallback'$source);
    }

    if (
$wcmcdseoConfig['setting'][2]['url'] OR $wcmcdseoConfig['setting'][2]['linkTitle'])
    {
        
$GLOBALS['wcmcdseoReplaceProds'] = wcmcdseoGetReplacements('product');
        
$source preg_replace_callback('~<a\s++[^>]*?href\s*+=\s*+"product\.php([^"]*+)"[^>]*+>~i''wcmcdseoProductCallback'$source);
    }

    if (
$wcmcdseoConfig['setting'][4]['url'] OR $wcmcdseoConfig['setting'][4]['linkTitle'])
    {
        
$GLOBALS['wcmcdseoReplacePages'] = wcmcdseoGetReplacements('staticpage');
        
$source preg_replace_callback('~<a\s++[^>]*?href\s*+=\s*+"pages\.php([^"]*+)"[^>]*+>~i''wcmcdseoStaticPageCallback'$source);
    }

    return 
$source;
}


function 
wcmcdseoPageTitleCallback($matches)
{
    global 
$smarty;
    global 
$wcmcdseoConfig;

    if (
$smarty->get_template_vars('main') == 'catalog' AND !$smarty->get_template_vars('current_category'))
    {
        
$title $wcmcdseoConfig['home_page_title'];
    }
    elseif (
$GLOBALS['wcmcdseoReplacePageTitle'] != "")
    {
        
$title $GLOBALS['wcmcdseoReplacePageTitle'];
    }

    if (empty(
$title))
        return 
$matches[0];

    if (
preg_match('~(?:-p|index)(\d++)\.html$~i'$GLOBALS['wcmcdseoUrlVar'], $matches))
    {
        if (
$matches[1] > 1)
        {
            
$title $title ' (Page '.$matches[1].')';
        }
    }

    return 
'<title>'.htmlspecialchars_no_double_encode($title).'</title>';
}

function 
wcmcdseoCategoryCallback($matches)
{
    global 
$config;
    global 
$wcmcdseoWebDir;
    global 
$wcmcdseoConfig;

    
parse_str(str_replace('&amp;''&'ltrim($matches[1], '?')), $qs);

    if (empty(
$qs['cat']) OR !array_key_exists($qs['cat'], $GLOBALS['wcmcdseoReplaceCats']))
    {
        if ((bool)
$wcmcdseoConfig['rewrite_index'])
            return 
preg_replace('~(?<=")home\.php[^"]*~i'$wcmcdseoWebDir.'/'.$matches[1], $matches[0], 1);

        return 
$matches[0];
    }

    if (
$wcmcdseoConfig['setting'][1]['linkTitle'])
    {
        
$matches[0] = preg_replace('~\btitle\s*+=\s*+"[^"]*+"~i'''$matches[0]);
        
$matches[0] = preg_replace('~(?<=^<a)~i'' title="'.htmlspecialchars_no_double_encode($GLOBALS['wcmcdseoReplaceCats'][$qs['cat']]['title']).'"'$matches[0], 1);
    }

    if (!
$wcmcdseoConfig['setting'][1]['url'] OR $GLOBALS['wcmcdseoReplaceCats'][$qs['cat']]['url'] == '')
        return 
$matches[0];

    
$url $wcmcdseoWebDir.'/'.$GLOBALS['wcmcdseoReplaceCats'][$qs['cat']]['url'];

    
$url .= ($wcmcdseoConfig['setting'][1]['extension']) ? '' '/';
    unset(
$qs['cat']);

    if (isset(
$qs['page']) AND ctype_digit($qs['page']))
    {
        if ((int) 
$qs['page'] > 1)
        {
            
$url .= (($wcmcdseoConfig['setting'][1]['extension']) ? '-p'.$qs['page'] : 'index'.$qs['page'].'.html');
        }
        unset(
$qs['page']);
    }

    
$url .= ($wcmcdseoConfig['setting'][1]['extension']) ? '.html' '';

    if (isset(
$qs['sort']) AND ($qs['sort'] == $config['Appearance']['products_order'] OR $qs['sort'] == ''))
    {
        unset(
$qs['sort']);
    }

    if (isset(
$qs['sort_direction']) AND ($qs['sort_direction'] == '0' OR $qs['sort_direction'] == ''))
    {
        unset(
$qs['sort_direction']);
    }

    if (!empty(
$qs))
    {
        
$url .= '?'.http_build_query($qs);
    }

    return 
preg_replace('~(?<=")home\.php[^"]*~i'$url$matches[0], 1);
}

function 
wmcdseoManufacturerCallback($matches)
{
    global 
$config;
    global 
$wcmcdseoWebDir;
    global 
$wcmcdseoConfig;

    
parse_str(str_replace('&amp;''&'ltrim($matches[1], '?')), $qs);

    if (empty(
$qs['manufacturerid']) OR !array_key_exists($qs['manufacturerid'], $GLOBALS['wcmcdseoReplaceManus']))
        return 
$matches[0];

    if (
$wcmcdseoConfig['setting'][3]['linkTitle'])
    {
        
$matches[0] = preg_replace('~\btitle\s*+=\s*+"[^"]*+"~i'''$matches[0]);
        
$matches[0] = preg_replace('~(?<=^<a)~i'' title="'.htmlspecialchars_no_double_encode($GLOBALS['wcmcdseoReplaceManus'][$qs['manufacturerid']]['title']).'"'$matches[0], 1);
    }

    if (!
$wcmcdseoConfig['setting'][3]['url'] OR $GLOBALS['wcmcdseoReplaceManus'][$qs['manufacturerid']]['url'] == '')
        return 
$matches[0];

    
$url $wcmcdseoWebDir.'/'.$GLOBALS['wcmcdseoReplaceManus'][$qs['manufacturerid']]['url'];

    
$url .= ($wcmcdseoConfig['setting'][3]['extension']) ? '' '/';
    unset(
$qs['manufacturerid']);

    if (isset(
$qs['page']) AND ctype_digit($qs['page']))
    {

        if ((int) 
$qs['page'] > 1)
        {
            
$url .= (($wcmcdseoConfig['setting'][3]['extension']) ? '-p'.$qs['page'] : 'index'.$qs['page'].'.html');
        }
        unset(
$qs['page']);
    }

    
$url .= ($wcmcdseoConfig['setting'][3]['extension']) ? '.html' '';

    if (isset(
$qs['sort']) AND ($qs['sort'] == $config['Appearance']['products_order'] OR $qs['sort'] == ''))
    {
        unset(
$qs['sort']);
    }

    if (isset(
$qs['sort_direction']) AND ($qs['sort_direction'] == '0' OR $qs['sort_direction'] == ''))
    {
        unset(
$qs['sort_direction']);
    }

    if (!empty(
$qs))
    {
        
$url .= '?'.http_build_query($qs);
    }

    return 
preg_replace('~(?<=")manufacturers\.php[^"]*~i'$url$matches[0], 1);
}

function 
wcmcdseoProductCallback($matches)
{
    global 
$config;
    global 
$wcmcdseoWebDir;
    global 
$wcmcdseoConfig;

    
parse_str(str_replace('&amp;''&'ltrim($matches[1], '?')), $qs);

    if (empty(
$qs['productid']) OR !array_key_exists($qs['productid'], $GLOBALS['wcmcdseoReplaceProds']))
        return 
$matches[0];

    if (
$wcmcdseoConfig['setting'][2]['linkTitle'])
    {
        
$matches[0] = preg_replace('~\btitle\s*+=\s*+"[^"]*+"~i'''$matches[0]);
        
$matches[0] = preg_replace('~(?<=^<a)~i'' title="'.htmlspecialchars_no_double_encode($GLOBALS['wcmcdseoReplaceProds'][$qs['productid']]['title']).'"'$matches[0], 1);
    }

    if (!
$wcmcdseoConfig['setting'][2]['url'] OR $GLOBALS['wcmcdseoReplaceProds'][$qs['productid']]['url'] == '')
        return 
$matches[0];

    
$url $wcmcdseoWebDir.'/'.$GLOBALS['wcmcdseoReplaceProds'][$qs['productid']]['url'];

    
$url .= ($wcmcdseoConfig['setting'][2]['extension']) ? '.html' '/';
    unset(
$qs['productid']);

    if (isset(
$qs['feature'])) unset($qs['feature']);
    if (isset(
$qs['featured'])) unset($qs['featured']);
    if (isset(
$qs['bestseller'])) unset($qs['bestseller']);
    if (isset(
$qs['cat'])) unset($qs['cat']);
    if (isset(
$qs['page'])) unset($qs['page']);

    if (!empty(
$qs))
    {
        
$url .= '?'.http_build_query($qs);
    }

    return 
preg_replace('~(?<=")product\.php[^"]*~i'$url$matches[0], 1);
}

function 
wcmcdseoStaticPageCallback($matches)
{
    global 
$config;
    global 
$wcmcdseoWebDir;
    global 
$wcmcdseoConfig;

    
parse_str(str_replace('&amp;''&'ltrim($matches[1], '?')), $qs);

    if (empty(
$qs['pageid']) OR !array_key_exists($qs['pageid'], $GLOBALS['wcmcdseoReplacePages']))
        return 
$matches[0];

    if (
$wcmcdseoConfig['setting'][4]['linkTitle'])
    {
        
$matches[0] = preg_replace('~\btitle\s*+=\s*+"[^"]*+"~i'''$matches[0]);
        
$matches[0] = preg_replace('~(?<=^<a)~i'' title="'.htmlspecialchars_no_double_encode($GLOBALS['wcmcdseoReplacePages'][$qs['pageid']]['title']).'"'$matches[0], 1);
    }

    if (!
$wcmcdseoConfig['setting'][4]['url'] OR $GLOBALS['wcmcdseoReplacePages'][$qs['pageid']]['url'] == '')
        return 
$matches[0];

    
$url $wcmcdseoWebDir.'/'.$GLOBALS['wcmcdseoReplacePages'][$qs['pageid']]['url'];

    
$url .= ($wcmcdseoConfig['setting'][4]['extension']) ? '.html' '/';
    unset(
$qs['pageid']);

    if (!empty(
$qs))
    {
        
$url .= '?'.http_build_query($qs);
    }

    return 
preg_replace('~(?<=")pages\.php[^"]*~i'$url$matches[0], 1);
}

function 
wcmcdseoGetReplacements($in_type)
{
    global 
$var_dirs;
    
    
// Determine cache setting
    
$useCache $wcmcdseoConfig['use_cache'];

    
$in_type strtolower($in_type);

    if (
$in_type !== 'category' AND $in_type !== 'manufacturer' AND $in_type !== 'product' AND $in_type !== 'staticpage')
        return array();

    
$wcmcdseoCacheDir $var_dirs['cache'] . "/cdseo-" $in_type ".txt";

    if (
file_exists($wcmcdseoCacheDir) AND $useCache == 1)
    {
        
$return unserialize(file_get_contents($wcmcdseoCacheDir));
    }
    else
    {
        
$query func_query
        
(
            
'SELECT cdseoReplaceID AS id, cdseoUrl AS url, cdseoLinkTitle AS title '.
            
'FROM wcm_cdseo '.
            
'WHERE cdseoType = "'.$in_type.'"'
        
);

        if (empty(
$query))
            return array();

        foreach (
$query as $row)
        {
            
$return[$row['id']] = array('url' => $row['url'], 'title' => $row['title']);
        }

        if (
is_writable($var_dirs["cache"]) AND is_dir($var_dirs["cache"])) {
            
$fp fopen($wcmcdseoCacheDir,"w");
            
fputs($fpserialize($return));
            
fclose($fp);
        }
    }

    return 
$return;
}

if (!
function_exists('http_build_query'))
{
    function 
http_build_query($in_array)
    {
        if (empty(
$in_array) OR !is_array($in_array))
            return 
'';

        
$string = array();

        foreach(
$in_array as $key => $value)
        {
            
$string[] = $key.'='.rawurlencode($value);
        }

        return 
implode('&'$string);
    }
}
php ?>
Reply With Quote
  #42  
Old 10-06-2008, 07:16 AM
Admin's Avatar
Administrator
 
Join Date: Jan 2007
Location: Taree
Posts: 613
Default

Buddykartz here is yours, it was encrypted twice with two different encoders which is why it wouldn't work with the decoder on page one.

PHP Code:
<div class="clear"></div>
    </div>
    <!-- /Main -->
    
    <!-- Footer -->
    <div id="footer">
        Black Buttons Theme | <!--start--> <a href="http://www.net-tec.biz/" title="Internetdesign">Internetdesign</a> <a href="http://www.net-tec.biz/linktausch-fuer-firmen/" title="Links tauschen">Links tauschen</a> <a href="http://www.net-tec.biz/index.php" title="CMS">CMS</a>
    </div>
    <!-- Footer -->

</div>
<!-- /Page -->

<?php wp_footer(); ?>
</body>
</html>
Reply With Quote
  #43  
Old 10-06-2008, 10:16 AM
Junior Member
 
Join Date: Oct 2008
Posts: 2
Default Thanks

Thanks for that, could you tell me how you managed to decode that? I followed instructions as you'd put them but could only get errors as I described in my original post.

Not sure where I went wrong- did you put the encoded text in without quote marks or without the php code in front, etc?

Can you just drop a quick description of the process you used as I have 20+ files I need to work through and I don't really want to put them up here.

Many thanks
Reply With Quote
  #44  
Old 10-07-2008, 06:36 PM
Junior Member
 
Join Date: Oct 2008
Posts: 1
Default If someone could decode this for me I would be forever grateful as I've tried.

<? eval(gzinflate(str_rot13(base64_decode('FZfHDoTYFV F/xTuPxYKc5LFUxCbnvLHIOdOkr2oPEiyR7ntoq0H99d8///pUbKbDH/XbQdWQHuUf+7H9YpsPGP0jWPeSwP5KlPlclH/8k0IKf9sjJhU/6LwMallkbCzuXEUT1phc8csP0GkQoE5mU1Z+SrtPJxQE3wkFfL fbqBUk09X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ItHmLjtEPxQGHT1B8A5/t4xg3YA4F8zrpskpAaNI/lF5fh9F8Pt0vDVx+Q5NQzF5FxeTjUeiaKOqioY03GE/98N3+9JKQSbauTQwdGtWtzpJU0rJHaOoOk0L+PYGdFp3PVP0ok 8DP8Gpnsi4WZI/DGq3gqEcwzHO0j2GrtXqx3MI1w
/QsiU6Ivn1ZWy3fdY9xaBJ1/ryYg5UaKBXQC925iv6GYuwkpm3GdHDgDu1IEW/B5Zij5FSQHG/F30XeD1v77vbHApw6XkDoTXdJrx/rBXUUBH8F6Me1IFUl9O/zexvqP//81+/59z/++u+ff/0f')))); ?>
Reply With Quote
  #45  
Old 10-09-2008, 02:43 PM
Junior Member
 
Join Date: Oct 2008
Posts: 2
Default SoSoStrange 'echo & 'eval..............

Dear guys, also have some problems with this footer's b64 code....
Unfortunately Your advices could not help to disolve this one...

I get simlpy this:

Code:
<?php $o="QAAADg4OO2NucSduYzolYWhocwABYnVlZnUqdW5gb3MlOQoNAfAAAA47bzQ5153Xude417/Wh9cASLfXvtaF1ow7KAFwCg0CNHJrJwRAZGtmdHQEXipuaQSGZXUnKDk7AABhaGlzJ2Roa2h1OiVla2ZkAABsJTkhZGh3fjwnNTc3Pyc7AABmJ291YmE6b3Nzdz0oKHB3AAhzb2JqYil1cig5168H0LbXvIAACLC61own17PXvNaIJ1BodWMAFHd1YnR0OyhmOTsoBfE5DVAockAAawwB";eval(base64_decode("JGxsbD0wO2V2YWwoYmFzZTY0X2RlY29kZSgiSkd4c2JHeHNiR3hzYkd4c1BTZGlZWE5sTmpSZlpHVmpiMlJsSnpzPSIpKTskbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd3OUoyOXlaQ2M3IikpOyRsbGxsPTA7JGxsbGxsPTM7ZXZhbCgkbGxsbGxsbGxsbGwoIkpHdzlKR3hzYkd4c2JHeHNiR3hzS0NSdktUcz0iKSk7JGxsbGxsbGw9MDskbGxsbGxsPSgkbGxsbGxsbGxsbC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SIpKTskbGxsbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkQwaVB5SXVKR3hzYkd4c2JHeHNiR3hzYkNnMk1pazciKSk7JGxsbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGw7KXskbGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw==")); ?>
Please, decode it, dear people! ! !
Attached Thumbnails
decoding-eval-gzinflate-base64_decode-happiness_by_latent_talent.jpg  
Reply With Quote
  #46  
Old 10-11-2008, 04:03 AM
Admin's Avatar
Administrator
 
Join Date: Jan 2007
Location: Taree
Posts: 613
Default

Bill127300 here is yours:

PHP Code:
<?PHP

?>
        <!-- Sidebar -->
        <div class="sidebar sidebar-right">
        
            <h3>Categories</h3>
            <ul>
                <?php wp_list_categories('title_li='); ?>
            </ul>
            
            <h3>Blogroll</h3>
            <ul>
                <?php wp_list_bookmarks('categorize=0&title_li='); ?>
            </ul>
            
            <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?>
            
            <?php endif; ?>
        
        </div>
        <!-- Sidebar -->
        
        <div class="clear"></div>
    
    </div></div></div>
    <!-- /Main -->
    
    <!-- Footer -->
    <div id="footer">
    
        <!-- Copyright -->
        <div id="copyright">
        Designed By: <a href="http://www.imrealestateagent.com">Real Estate Agents</a><br /><a href="http://www.sinksusa.com">Undermount Stainless Steel Kitchen Sinks</a> : <a href="http://www.amlaspain.com/p-charleston-real-estate.html">Mount Pleasant SC Real estate</a> : <a href="http://www.propertyflippinginfo.com">House Flipping</a>
        </div>
        <!-- /Copyright -->
    
    </div>
    <!-- Footer -->

</div>
<!-- /Page -->

<?php wp_footer(); ?>

</body>

</html>
Reply With Quote
  #47  
Old 10-11-2008, 04:21 AM
Admin's Avatar
Administrator
 
Join Date: Jan 2007
Location: Taree
Posts: 613
Default

ActiveWorldTeam, that's not encoded using regular eval base64 encoding. I did however manage to decode it "i think" completely without loosing any data.

Try this:

PHP Code:
<div id="footerbar-right">
                <
h3>&#1050;опирайты</h3>

                
<ul class="footerbar-right-in">
                <
br /><font color="black">&copy2008 <a href=http://wptheme.ru/>Шаблоны для Wordpress</a></font> 
If this is the only thing in the footer.php you may need to wrap opening and closing <?PHP and ?> tags around it.


Reply With Quote
  #48  
Old 10-11-2008, 04:28 AM
Admin's Avatar
Administrator
 
Join Date: Jan 2007
Location: Taree
Posts: 613
Default

Quote:
Originally Posted by helpplease View Post
Thanks for that, could you tell me how you managed to decode that? I followed instructions as you'd put them but could only get errors as I described in my original post.

Not sure where I went wrong- did you put the encoded text in without quote marks or without the php code in front, etc?

Can you just drop a quick description of the process you used as I have 20+ files I need to work through and I don't really want to put them up here.

Many thanks
I just used the script and method in the first post, sometimes you may need to remove the opening and closing PHP tags first. Two other things you can try which may sometimes work is change the eval to echo and load the file directly in your browser and it will attempt to print the visible source on the screen.

Or just load the file directly, MyDomain.com/path/to/script/footer.php then just do a Right Click > View Source on the page.

If none of the above work, let me know and i will send you something via PM to try.
Reply With Quote
  #49  
Old 10-13-2008, 10:10 AM
Junior Member
 
Join Date: Oct 2008
Posts: 2
Default

Hello

I also have a encoded file, which will not decode using this script. Could somebody decode it for me? Thank you in advance!

Code:
<?php eval(gzinflate(base64_decode("rVVtT9tADP4MEv/BiybSSTQZTPsCaRAwGJNAQsDopGlCSc5tTiR34XJplv36+fJS2iod2rovbeLHfh7bd7GPfe/NcAghTrmAiZQaFQyH/s72zrbH+Aw4G1mN2eozJjjRBtjy4gP/FiMUOqlgrLjWKDyXjIRteUXie8dZnMEU9WOgopjPMB/Ymcx1WJlfew/23787gmPfc8m5JbyWQsfEd9JG9BCW2eMyp64yHKVNoL3I6LmUel8NKWcswXkVp4mcKpkknZjX5jPPP+HiKR8M9/fA9hLu2+bfbR9gCI2oiXhFV/Fp/NK8Cy4YfNGtKgBQlROp0jogR1OgebUgRR1LslEqFgSR5lKMrCY7jGIJbx/vzm8fzm+/2zeXN/R8dWH/MBlZTee4yAoNdZcsjT+JQwQpPedWo2RBzn/R+8FHC2ZBUmCnDjrmOYEaHcexXGqryacmbUs4YSkXvW2jU1J0w3KqejBvD7VsjlLPuZCFHrQnRljnEkCscDKyYq2zQ9cty9IppWKZwjx3pJq6lj/u3j03eAnuuKlhwbLqCiWVyVmgpXLKDzVjFGP0dFwoPiI3VObuf7u8v75aom/vaVv7+AbuY0xf7mhX/5oSQsUDMQ0UE6icSKaurqNdc6CzQONwXuOwRpxYp5Z/0qJLifylQkj3l/Gp7Fc4bdFNFLDCKBCs6lc4rxDODLyJBEMtC9Uv8KnGNmGfKHwuUERrKrjo4E00VMAIiNYc9G2LbqIwQ6XXnvNDA/4P/vy5CBSyP+rAXeO0iV4pBaONQ1enX2o8x9ep2Isq/AlL+pRUKLVOMK+VbN+YobZDA/R/891QXxnuua4SGphRQhPzkOLjI8ufu77msLAgImoV13mzHDJ/N5JZdQRn9FsvDZi3bWHum9WUo9ZcTGkNxjLFZhPRfGy8wnrITuTANhO/242BD7thkSRHcCNLmnUMwgpeHborM7ej+JqTem/0P3zIsPAlQ20G6gsdzdoUV0WI4tSY4HNjM0yO52ZNs1/aXreHycdmmw5sWhrNiu52ufEOJavqE6fcEv83"))); ?>
Reply With Quote
  #50  
Old 10-13-2008, 10:34 AM
Admin's Avatar
Administrator
 
Join Date: Jan 2007
Location: Taree
Posts: 613
Default

Quote:
Originally Posted by Ikke View Post
Hello

I also have a encoded file, which will not decode using this script. Could somebody decode it for me? Thank you in advance!

Code:
<?php eval(gzinflate(base64_decode("rVVtT9tADP4MEv/BiybSSTQZTPsCaRAwGJNAQsDopGlCSc5tTiR34XJplv36+fJS2iod2rovbeLHfh7bd7GPfe/NcAghTrmAiZQaFQyH/s72zrbH+Aw4G1mN2eozJjjRBtjy4gP/FiMUOqlgrLjWKDyXjIRteUXie8dZnMEU9WOgopjPMB/Ymcx1WJlfew/23787gmPfc8m5JbyWQsfEd9JG9BCW2eMyp64yHKVNoL3I6LmUel8NKWcswXkVp4mcKpkknZjX5jPPP+HiKR8M9/fA9hLu2+bfbR9gCI2oiXhFV/Fp/NK8Cy4YfNGtKgBQlROp0jogR1OgebUgRR1LslEqFgSR5lKMrCY7jGIJbx/vzm8fzm+/2zeXN/R8dWH/MBlZTee4yAoNdZcsjT+JQwQpPedWo2RBzn/R+8FHC2ZBUmCnDjrmOYEaHcexXGqryacmbUs4YSkXvW2jU1J0w3KqejBvD7VsjlLPuZCFHrQnRljnEkCscDKyYq2zQ9cty9IppWKZwjx3pJq6lj/u3j03eAnuuKlhwbLqCiWVyVmgpXLKDzVjFGP0dFwoPiI3VObuf7u8v75aom/vaVv7+AbuY0xf7mhX/5oSQsUDMQ0UE6icSKaurqNdc6CzQONwXuOwRpxYp5Z/0qJLifylQkj3l/Gp7Fc4bdFNFLDCKBCs6lc4rxDODLyJBEMtC9Uv8KnGNmGfKHwuUERrKrjo4E00VMAIiNYc9G2LbqIwQ6XXnvNDA/4P/vy5CBSyP+rAXeO0iV4pBaONQ1enX2o8x9ep2Isq/AlL+pRUKLVOMK+VbN+YobZDA/R/891QXxnuua4SGphRQhPzkOLjI8ufu77msLAgImoV13mzHDJ/N5JZdQRn9FsvDZi3bWHum9WUo9ZcTGkNxjLFZhPRfGy8wnrITuTANhO/242BD7thkSRHcCNLmnUMwgpeHborM7ej+JqTem/0P3zIsPAlQ20G6gsdzdoUV0WI4tSY4HNjM0yO52ZNs1/aXreHycdmmw5sWhrNiu52ufEOJavqE6fcEv83"))); ?>
Sure:

PHP Code:
<?PHP

?>
<!-- begin footer -->

<div id="footer">

<div id="footerleft">
    <h2>Recently Written</h2>
        <ul><?php get_archives('postbypost'10); ?></ul>
    <h2>Monthly Archives</h2>
        <ul><?php wp_get_archives('type=monthly'); ?></ul>
</div>

<div id="footermiddle">
    <h2>Blogroll</h2>
    <ul>
    <?php get_links(-1'<li>''</li>'' - '); ?>
    </ul>
</div>

<div id="footerright">
    <h2>Find It</h2>
           <form id="searchform" method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
        <input type="text" name="s" id="s" size="25" value="search this site..."/></form>
        
    <h2>Admin</h2>
    <ul>
    <?php wp_register(); ?>
    <li><?php wp_loginout(); ?></li>
    <li><a href="http://www.wordpress.org/">Wordpress</a></li>
    <?php wp_meta(); ?>
    <li><a href="http://validator.w3.org/check?uri=referer">XHTML</a></li>
    </ul>
    
    <h2>WP Themes</h2>
    <ul>
    <li><a href="http://www.briangardner.com/themes/activate-wordpress-theme.htm">Activate</a></li>
    <li><a href="http://www.briangardner.com/themes/blindigo-wordpress-theme.htm">Blindigo</a></li>
    <li><a href="http://www.briangardner.com/themes/eyecandy-wordpress-theme.htm">Eye Candy</a></li>
    <li><a href="http://www.briangardner.com/themes/detour-wordpress-theme.htm">Detour</a></li>
    <li><a href="http://www.briangardner.com/themes/frequency-wordpress-theme.htm">Frequency</a></li>
    <li><a href="http://www.briangardner.com/themes/radiance-wordpress-theme.htm">Radiance</a></li>
    <li><a href="http://www.briangardner.com/themes/vertigo-wordpress-theme.htm">Vertigo</a></li>
    <li><a href="http://www.briangardner.com/themes/vertigo-squared-wordpress-theme.htm">Vertigo Squared</a></li>
    <li><a href="http://www.briangardner.com/themes/wonderland-wordpress-theme.htm">Wonderland</a></li>
    <li><a href='http://www.bikewaterbottles.com/'>bike water bottle</a></li>
    </ul>
    
</div>
</div>

<div style="clear:both;"></div>
<div style="clear:both;"></div>

<div id="credits">
    <p>&copy; Copyright <a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a> &bull; Powered by <a href="http://www.wordpress.org">Wordpress</a> &bull; Using <a href="http://www.briangardner.com/themes/detour-wordpress-theme.htm" >Detour</a> theme created by <a href="http://www.briangardner.com" >Brian Gardner</a>.</p>

</div>

<?php do_action('wp_footer'); ?>

</body>
</html>
Reply With Quote
Top SEO Tool
Harvester and Mass Blog Commenter
Blog Comment Software

Reply

Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Decoding Js help me Fantastikky Knowledgebase 0 01-05-2015 12:44 AM
Decoding Array unicornio Knowledgebase 0 10-22-2009 11:33 PM
Help with base64_decode Unregistered Knowledgebase 3 09-04-2009 10:52 PM
Decoding base64_decode murker Knowledgebase 0 02-05-2009 03:28 PM
help me eval(base64_decode(str_replace DoukanN Knowledgebase 0 01-05-2009 06:06 PM



Knowledgebase | SEO | Free Scripts | Free Wordpress Themes | Free Graphics

eval gzinflate base64 decode | SEO Addons


Forum time zone is GMT. Currently it's 10:53 PM.

SEO - Top



Web Design & SEO Forums