2012-01-21, 09:45 PM
Pages: 1 2
2012-01-21, 09:47 PM
define("IN_MYBB", 1);
2012-01-21, 10:14 PM
<?php
//Explains to Tom what is wrong with his in MyBB with PHP
include_once "./trout.php"
require_once "./global.php"
define("IN_MYBB", 1)
//variables
$still_wrong = function whywrong()
$wrongo = "It's so obvious"
$look_at_mine = function in_beginning($wrongo, $still_wrong)
//List of functions
function whywrong ()
{
if (PHP Incorrect)
{
echo "Look around, Tom"
}
}
function in_beginning($wrongo, $still_wrong)
{
echo $wrongo
echo "look at function name! <br />"
echo ":P"
}
?>
I think you'll figure it out. If I understand, it's supposed to look like a plugin. Look, and you'll see your (really obvious) mistake.
2012-01-21, 10:37 PM
(2012-01-21, 09:47 PM)Nathan Malcolm Wrote: [ -> ]define("IN_MYBB", 1);
GAH! The most important bit. /facepalm
2012-01-23, 10:17 PM
HAI
CAN HAS STDIO?
I HAS A VAR
IM IN YR LOOP
UP VAR!!1
VISIBLE "LOLCODE > PHP"
IZ VAR BIGGER THAN 10? KTHX
IM OUTTA YR LOOP
KTHXBYE
Pages: 1 2