Integrate Linkman into WordPress
-
I am trying to integrate Linkman (Link Exchange script) into my wordpress. From http://www.phpjunkyard.com/php-link-manager.php
Currently this is the location of my WordPress.
http://www.raymond.cc/blog/And this is the location of where I installed Linkman.
http://www.raymond.cc/linkman/I want http://www.raymond.cc/blog/links to echo/print out a text file from http://www.raymond.cc/linkman/linkinfo.txt
I think this should be the original php file taken from linkman folder that echo/print out the linkinfo.txt
<?php
require “settings.php”;
require_once(“header.txt”);$lines = array ();
$lines=file($settings[‘linkfile’]);echo “<p class=\”linkman\”>”;
foreach ($lines as $thisline)
{
$thisline=trim($thisline);
if (!empty($thisline)) {
list($name,$email,$title,$url,$recurl,$description)=explode($settings[‘delimiter’],$thisline);
if ($settings[‘clean’] != 1) {$url=”go.php?url=”.$url;}
echo “$title – $description<br>\n”;
}
}Problem is, according to the location of where the files is, I can’t use the code above.
How should I modify them? I tried changing around but couldn’t get it to work.
Would really appreciate any help… Thanks in advanced.
- The topic ‘Integrate Linkman into WordPress’ is closed to new replies.