Reciprocal Link problem - links without the www
Posted: Mon Nov 08, 2010 5:09 pm
Script URL: www.petertuneup.co.za
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hi
I like this script and want to pay for the licence , but before i do could you please help me . The reciprocal links without the www cannot be open by linkman . I have edit the admin php file at line 764 as follows:
if (preg_match_all('/<a\s[^>]*href=([\"\']??)([^" >]*?)\\1([^>]*)>/siU', $html, $matches, PREG_SET_ORDER)) {
foreach($matches as $match) {
if $settings['site_url']=str_replace('www.','',$settings['site_url']);
if ($match[2] == $settings['site_url'] || $match[2] == $settings['site_url'].'/' || $match[2] == $settings['short_site_url'] || $match[2] == $settings['short_site_url'].'/')
$html=strtolower($html);
$html=str_replace('href =','href=',$html);
{
$found = 1;
break;
somebody else also had the problem , i tried to modify the code , but it is still not working
thanks
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hi
I like this script and want to pay for the licence , but before i do could you please help me . The reciprocal links without the www cannot be open by linkman . I have edit the admin php file at line 764 as follows:
if (preg_match_all('/<a\s[^>]*href=([\"\']??)([^" >]*?)\\1([^>]*)>/siU', $html, $matches, PREG_SET_ORDER)) {
foreach($matches as $match) {
if $settings['site_url']=str_replace('www.','',$settings['site_url']);
if ($match[2] == $settings['site_url'] || $match[2] == $settings['site_url'].'/' || $match[2] == $settings['short_site_url'] || $match[2] == $settings['short_site_url'].'/')
$html=strtolower($html);
$html=str_replace('href =','href=',$html);
{
$found = 1;
break;
somebody else also had the problem , i tried to modify the code , but it is still not working
thanks