'.$settings['site_url']. ') wasn\'t found on the reciprocal links page ('.$recurl.')!

If you don\'t require a reciprocal link from this website please set reciprocal URL to http://nolink' ); } } $url=str_replace('&','&',$url); $recurl=str_replace('&','&',$recurl); $description=pj_input($_POST['description'],'Please write a short description of your website!'); if (strlen($description)>200) { problem('Description is too long! Description of your website is limited to 200 chars!'); } $lines=@file($settings['linkfile']); if (count($lines)>$settings['max_links']) { problem('You have reached your maximum links limit!'); } $replacement = "$name$settings[delimiter]$email$settings[delimiter]$title$settings[delimiter]$url$settings[delimiter]$recurl$settings[delimiter]$description\n"; if ($settings['add_to'] == 0) { $replacement .= implode('',$lines); $fp = fopen($settings['linkfile'],'wb') or problem('Couldn\'t open links file for writing! Please CHMOD all txt files to 666 (rw-rw-rw)!'); fputs($fp,$replacement); fclose($fp); } else { $fp = fopen($settings['linkfile'],'ab') or problem('Couldn\'t open links file for appending! Please CHMOD all txt files to 666 (rw-rw-rw)!'); fputs($fp,$replacement); fclose($fp); } done('The URL '.$url.' was successfully added to your links page'); } // END addlink() // START check() function check() { global $settings; $lines=array(); $lines=file($settings['linkfile']); $site_url =strtolower($settings['site_url']); $i=1; $rewrite=0; echo << Checking reciprocal links... EOC; foreach($lines as $thisline) { list($name,$email,$title,$url,$recurl,$description)=explode($settings['delimiter'],$thisline); echo "

Checking link N. $i...
\n"; echo "-> Link URL: $url
\n"; if ($recurl == 'http://nolink') { echo 'No reciprocal link required!

'; echo '- - - - - - - - - - - - - - - - - - - - - - - - - - - -

'; $i++; flush(); continue; } else { echo "-> Reciprocal URL: $recurl
\n"; } echo '-> Opening and reading reciprocal URL '; $html = @file_get_contents($recurl) or $html='NO'; if ($html == 'NO') { if (empty($_POST['docantopen'])) { echo '
CAN\'T OPEN RECIPROCAL URL!

Owner (click on name for e-mail): '.$name.'
'; } else { echo '
CAN\'T OPEN RECIPROCAL URL!

Removing link ...
'; unset($lines[$i-1]); $rewrite=1; } } else { $html=strtolower($html); if (strstr($html,$site_url)) { echo '
A link to '.$settings['site_url'].' was found!

'; } elseif (empty($_POST['dowhat'])) { echo '
LINK NOT FOUND!

Owner (click on name for e-mail): '.$name.'
'; } else { echo '
LINK NOT FOUND!

Removing link ...
'; unset($lines[$i-1]); $rewrite=1; } } $i++; echo '- - - - - - - - - - - - - - - - - - - - - - - - - - - -

'; flush(); } if ($rewrite == 1) { $lines = implode('',$lines); $fp = fopen($settings['linkfile'],'wb') or problem('Couldn\'t open links file for writing! Please CHMOD all txt files to 666 (rw-rw-rw)!'); fputs($fp,$lines); fclose($fp); } echo << 

DONE!

Back to main page

EOC; exit(); } // END check() // START removelink() function removelink($i) { global $settings; $lines=array(); $lines=file($settings['linkfile']); unset($lines[$i]); $lines = implode('',$lines); $fp = fopen($settings['linkfile'],'wb') or problem('Can\'t write to link file! Please Change the file permissions (CHMOD to 666 on UNIX machines!)'); fputs($fp,$lines); fclose($fp); done('The selected link was successfully removed!'); } // END removelink() // START mainpage() function mainpage($notice='') { global $settings; ?> PHP Link manager admin panel
PHP Link manager
-- Admin panel --
Welcome to admin panel!

'; } echo '
'; $lines=array(); $lines=file($settings['linkfile']); if (count($lines)==0) { echo '

You don\'t have any links yet.

'; } else { echo ''; $i=0; foreach ($lines as $thisline) { $thisline=trim($thisline); if (!empty($thisline)) { list($name,$email,$title,$url,$recurl,$description)=explode($settings['delimiter'],$thisline); echo ''; $i++; } } echo '
Remove this link '.$title.' - '.$description.'

You can remove links by clicking the button.

'; } ?>

Check reciprocal links

Click the below button and the script will check all submitted links to see if your reciprocal link is still there. If the reciprocal link is not on the reciprocal links page, submitted link will be removed!

-> What to do if the reciprocal link is NOT found:

    Delete the link
    Don't delete link and show contact information

-> What to do if the reciprocal URL can't be opened (is not available):

    Delete the link
    Don't delete link and show contact information

-> This can take a while, please be patient!


Add a link

Here you can manually add links to your links.php. LinkMan will NOT check for reciprocal links if you submit using this form!

If you don't require a reciprocal link from this website please type "http://nolink" (without the quotes) into the Reciprocal URL field!

Owner name:
Owner e-mail:
Website title:
Website URL:
URL with reciprocal link:

Website description:


Rate this script

If you like this script please rate it or even write a review at:

Rate this Script @ Hot Scripts

Rate this Script @ PHP Resource index


Stay updated

Join my FREE newsletter and you will be notified about new scripts, new versions of the existing scripts and other important news from PHPJunkYard.
Click here for more info


 

PHP Link manager admin panel
PHP Link manager
-- Admin panel --

 

Enter admin panel

 
Please type in your admin password

 

 

 

PHP Link manager admin panel
PHP Link manager
-- Admin panel --

 

ERROR

 

An error occured:

 

Back to the previous page

 

 

 

 

PHP Link manager admin panel
PHP Link manager
-- Admin panel --

 

 

 

 

Click to continue