Raised This Month: $ Target: $400
 0% 

HTML MOTD displayed as Plain Text


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Shaman
Senior Member
Join Date: Dec 2006
Location: Istanbul, Turkey
Old 02-18-2007 , 10:29   HTML MOTD displayed as Plain Text
Reply With Quote #1

I have this code:
PHP Code:
new helplenght=1000
new help[1001]
new 
len

len
=format(help,helplenght,                "<!DOCTYPE HTML PUBLIC ^"-//W3C//DTD HTML 4.01 Transitional//EN^" ^"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd^">")
len+=format(help[len],helplenght-len,    "<html>")
len+=format(help[len],helplenght-len,    "    <head>")
len+=format(help[len],helplenght-len,    "        <title>shDM:Heroes</title>")
len+=format(help[len],helplenght-len,    "    </head>")
len+=format(help[len],helplenght-len,    "    <body>")
len+=format(help[len],helplenght-len,    "        <h1>Welcome to shDM:Heroes!</h1>")
len+=format(help[len],helplenght-len,    "    </body>")
len+=format(help[len],helplenght-len,    "</html>")

show_motd(id,help,"shDM Help"
When I use this command I see the code not the HTML page. What's wrong???
__________________
Shaman is offline
Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode