Matt McAlister » Socially linked data
» Socially linked data
SEOmoz | SEO and Social Media Benchmarking
This post should help anyone who has to answer questions like "but what does 'mozRank 5' mean?" It carries SEO benchmark data with metrics for around half a dozen sites from ten different niches, followed by social media benchmarks to give an idea of the impact and influence of votes and people on three social media sites.
Regular Expression, Regex, Perl Regular Expressions, Regexp, Examples, Tutorial, Web-Wise-Wizard
Magento - Wiki - Maintenance Script
<?
$db['host'] = ''; // Database hostname
$db['name'] = ''; // Database name
$db['user'] = ''; // Database username
$db['pass'] = ''; // Database password
$db['pref'] = ''; // Database tables' prefix
if($_GET['clean'] == 'log') clean_log_tables();
if($_GET['clean'] == 'var') clean_var_directory();
function clean_log_tables() {
global $db;
$tables = array(
'dataflow_batch_export',
'dataflow_batch_import',
'log_url',
'log_url_info',
'log_visitor',
'log_visitor_info',
'report_event'
);
mysql_connect($db['host'], $db['user'], $db['pass']) or die(mysql_error());
mysql_select_db($db['name']) or die(mysql_error());
foreach($tables as $v => $k) {
mysql_query('TRUNCATE `'.$db['pref'].$k.'`') or die(mysql_error());
}
}
function clean_var_directory() {
$dirs = array(
'var/cache/',
'var/log/',
'var/report/',
'var/session/',
'var/tmp/',
'downloader/pearlib/cache/*',
'downloader/pearlib/download/*'
);
foreach($dirs as $v => $k) {
exec('rm -rf '.$k);
}
}
?>
Sponsored Links
Top Tags
View All Recent Tags (50)
- 46magento,
- 8extension,
- 7seo,
- 6dofollow,
- 5lists,
- 5template,
- 5free,
- 5magneto,
- 4twitter,
- 4email,
- 4software,
- 4api,
- 4export,
- 4search,
- 4engine,
- 4order,
- 3database,
- 3category,
- 3vertical,
- 3keyword,
- 3wordpress,
- 3contact,
- 3form,
- 2diigo,
- 2tags,
- 2submitter,
- 2payment,
- 2navigation,
- 2accordian,
- 2php,
- 2import,
- 2attributes,
- 2keywords,
- 2blogs,
- 2cms,
- 2adwords,
- 2filemaker,
- 2linux,
- 2permissions,
- 2link,
- 2themes,
- 2directory,
- 2list,
- 2home,
- 2google,
- 2sm,
- 2page,
- 2design,
- 2backlinks,
- 2linkbuilding
Public Tags (1097)
Stephan Miller's Public Lists (0)
No lists have been created yet.
"List" is a great way to organize, share and display your specific collection of bookmarks.
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo