Posted on Monday 24th March 2008 at 05:02 PM
ShadowMage
ShadowMage
Its on first page of comments ;)
Posted on Monday 24th March 2008 at 04:36 PM
Enros
Enros
Fatal error: Call to undefined function protect() in /home/habboque/public_html/php/report.php on line 21


Yeh dont know wth that is and how to fix it
Posted on Monday 24th March 2008 at 04:33 PM
Enros
Enros
I did >.<
Posted on Saturday 22nd March 2008 at 12:46 AM
ShadowMage
ShadowMage
gotta add session_start(); at top x.x'
Posted on Saturday 22nd March 2008 at 12:23 AM
Enros
Enros
Ummm this script doesnt work for me im having to edit quite a few things.


if(!$logged['username']){ //not logged in
print "<h2>Error</h2>
<p>
You Are not Logged In
</p>"; //lol error




BECOMES



if($logged['username']){ //not logged in
print "<h2>Error</h2>
<p>
You Are not Logged In
</p>"; //lol error

I simply took away the [!] other wise It wont show you the report script at all. There were heaps of other erors too I mite fix them or post them here later.
Posted on Thursday 20th March 2008 at 03:36 PM
ShadowMage
ShadowMage
i know =P
Posted on Wednesday 19th March 2008 at 11:07 AM
Enros
Enros
Nice work havent tried it but looks good :D


(Just felt like adding this comment) O btw just so you know im no newb to PHP so ya :D
Posted on Monday 3rd March 2008 at 10:31 PM
Diablosblizz
Diablosblizz
Ahh I see all it does is add strip_tags and addslashes. Quite smart to create a function for that.
Posted on Monday 3rd March 2008 at 10:28 PM
ShadowMage
ShadowMage
Its only needed for the new people since most like to copy and paste then learn later >.>'
Posted on Monday 3rd March 2008 at 10:25 PM
Diablosblizz
Diablosblizz
So there isn't a true purpose of using the protect? I'm coding my own, and was wondering if it's something needed or not. To my knowledge it's not.