How to put php output to another screen

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
albatros
Forum Newbie
Posts: 3
Joined: Tue Apr 23, 2002 1:29 am

How to put php output to another screen

Post 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:
jason
Site Admin
Posts: 1767
Joined: Thu Apr 18, 2002 3:14 pm
Location: Montreal, CA
Contact:

Post 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
User avatar
albatros
Forum Newbie
Posts: 3
Joined: Tue Apr 23, 2002 1:29 am

Post 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
Post Reply