11
irongaijin
PHP in a custom block help
  • 2006/8/24 17:33

  • irongaijin

  • Just popping in

  • Posts: 11

  • Since: 2006/8/24


I run a website for a WoW guild and found a neat little php script for adding a server status update on the web page.

WoW Server Status, 3.4

I want to put this in a custom block but I'm having trouble with it showing up correctly.

Following the instructions on the site I've tried making the custom block PHP and entering:

include("wowserverstatus.php");

But the block doesn't even show up.

Then I tried to call the script as an image in any type of webpage (HTML,PHP, etc) with the following code:

<img alt="WoW Server Status" src="wowserverstatus.php" />

It shows the block and the alt text but no image. I'm really new to php and I'm sure it's operator error but I can't figure out what I'm doing wrong. Can anyone help? Thanks!

XOOPS Version:
XOOPS 2.0.13.2

PHP Version:
4.4.2

MySQL Version:
5.0.15

Server Software:
Servage.net Cluster (Enhanced Apache)




TopTop
« 1 (2)



Login

Who's Online

138 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 138


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits