Admin Notepad Function?
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Admin Notepad Function?
(11-25-2010 03:23 PM)Firefox Wins Wrote:  Edit#4:
One (simple) answer to question #1

PHP Code:
1
2
3
4
5
6
7
8
9
10
<?php

define('IN_MYBB', 1);
require_once "./global.php";
$adminmessage = $cache->read("adminnotes");
?>

<textarea rows="30" cols="110">
<?php echo $adminmessage['adminmessage'] ; ?> 
</textarea>

Don't forget htmlspecialchars()

My Blog
11-25-2010 04:26 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Admin Notepad Function? - Firefox Wins - 11-25-2010, 03:23 PM
RE: Admin Notepad Function? - ZiNgA BuRgA - 11-25-2010 04:26 PM
RE: Admin Notepad Function? - Firefox Wins - 11-25-2010, 06:40 PM

 Standard Tools
Forum Jump: