Bugs » Code install help

added on Sep 11, 2008 by Divvy
Hi mates,
Can someone help me?

I have a php-nuke site and I want to use linkex code in a block of the site.
Here´s the code of the block:

<?php

include( "linkex/data/output/1001" );
if (eregi("block-Sample_Block.php",$_SERVER['SCRIPT_NAME'])) {
Header("Location: index.php");
die();
}

$content = "text here";

?>





So I need to put the linkex code in there...
I tried to put the code:
include( "linkex/data/output/1001" );
After the $content code, but didnt work...
To work, I think that I need to put the code inside the $content but I dont know how.

Can someone help me please?

Add reply

This thread has been inactive for more than 14 days, so it has been locked.

Feel free to create a new thread with your questions.