Page 1 of 1

How to put php output to another screen

Posted: Tue Apr 23, 2002 1:29 am
by albatros
Hello,

I have an strange problem, iam running phpnuke website with an gallery.
I can not find the code to put the include statement result on the same screen, its been shown above it. Toff explaining just have a look:
http://albatros.sytes.net:1088 and look down on the left for the box "test "and his picture (random) shown above it. This is the code for the "test" sidebox:
-----------------------------------------------------------------------------------
<?php
if (eregi("block-albatros.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
include ("http://albatros.sytes.net:1088/modules. ... random.php");
$content = "Above is the include statement"
?>
------------------------------------------------------------------------------------
the block-random.php can not be moved. Anny tips are welcome.
Greetinx :lol:

Posted: Tue Apr 23, 2002 6:34 am
by jason
I am going to respond before you get flamed.

I highly recommend using PostNuke, or something else besides PHPNuke. This is not only a technical recommendation, as well as a political one. Burzi isn't exactly a benevolent dictator, and PHPNuke isn't the most stable or well written code out there.

http://www.postnuke.org

Posted: Tue Apr 30, 2002 7:25 pm
by albatros
jason wrote:I am going to respond before you get flamed.

I highly recommend using PostNuke, or something else besides PHPNuke. This is not only a technical recommendation, as well as a political one. Burzi isn't exactly a benevolent dictator, and PHPNuke isn't the most stable or well written code out there.

http://www.postnuke.org
I just found the solution, added some code to the theme and its up and running, problem found on the gallery not the board thats running. Btw i have phpBB running under PHPnuke. The choice Postnuke Php-Nuke is verry simple, i have tried it and its much slower than PHP-Nuke.
Nice trick on youre avatar (random image), can you tel me how you make that posible?
Greetinx,
Hans