I Was Pm'd alot over the past few days asking and asking for me to
look into this script "properly" and fix it so it doesnt rely on register globals
being on anymore as only 2 servers that are known of will run the script otherwise.
so here it is. tested with register globals off.
/**
* @Author Ghost (coding-talk.com) - (Fully Taken Over)
* @PreviousAuthor Deviance Aka Wappy - (Dissapeared Somewhere!)
* @Copyright 2012 - Mobile Chat
* @Version 3 (wml 1.2 EN)
* @Description (Should Be Now working On All Servers)
*/
================
CHANGES IN Version 3
================
1. Coded ALL files better to not rely on register globals being on.
* - Should No longer Require Register_Globals On, (Major Update)
* - Tested With Register_Globals OFF.
(this should no longer be a problem to run on any server if follow instructions)
2. Added the maxlength=\"2\" code into all smileys/avatar jump boxes,
* - No longer can long strings of information be posted through them.
* - Not sure why i didnt pick up on this sooner. (Sorry)
(this should stop any attempts at xss codes in these forms.)
3. Added <script> <script </script> tags to a str_replace array in the following files
that allow long strings of information in them.
(this should stop the use of the <script> tags being used.)
* - 6 chat.php files (chat rooms)
* - 7 prividis.php files. (private messages / shoubox private)
* - 1 luonti.php file. (registeration)
* - 1 rooms.php file. (login / shoutbox)
* - 1 shout.php file (shoubox)
* - 1 shouthistory.php (shoutbox)
* - 1 comment.php file (guestbook)
(i will get round to adding more protection at some point)
4. Fix a Blunder Made by me, in v2.0.3 with Staff Tools.
(tools was posting in wrong rooms)
* - owners tools used in room2, 3, 4, 5 & stafrrom, only appeared in room1,
* - admin tools used in all rooms, only appeared in staffroom.
* - mod tools was fine. no errors.
Basically EVERY Single File Has Had A Code Change Some way or another.
(No Updates Was Lost From v2.0.3 final release)
================================================== ====
if you test this and it works.
if you like the new changes hit the like button.
if you wanna say thank you. hit the thanks button.
================================================== ====
Enjoy. Ghost
Demo: Mobile Chat wml v3
look into this script "properly" and fix it so it doesnt rely on register globals
being on anymore as only 2 servers that are known of will run the script otherwise.
so here it is. tested with register globals off.
/**
* @Author Ghost (coding-talk.com) - (Fully Taken Over)
* @PreviousAuthor Deviance Aka Wappy - (Dissapeared Somewhere!)
* @Copyright 2012 - Mobile Chat
* @Version 3 (wml 1.2 EN)
* @Description (Should Be Now working On All Servers)
*/
================
CHANGES IN Version 3
================
1. Coded ALL files better to not rely on register globals being on.
* - Should No longer Require Register_Globals On, (Major Update)
* - Tested With Register_Globals OFF.
(this should no longer be a problem to run on any server if follow instructions)
2. Added the maxlength=\"2\" code into all smileys/avatar jump boxes,
* - No longer can long strings of information be posted through them.
* - Not sure why i didnt pick up on this sooner. (Sorry)
(this should stop any attempts at xss codes in these forms.)
3. Added <script> <script </script> tags to a str_replace array in the following files
that allow long strings of information in them.
(this should stop the use of the <script> tags being used.)
* - 6 chat.php files (chat rooms)
* - 7 prividis.php files. (private messages / shoubox private)
* - 1 luonti.php file. (registeration)
* - 1 rooms.php file. (login / shoutbox)
* - 1 shout.php file (shoubox)
* - 1 shouthistory.php (shoutbox)
* - 1 comment.php file (guestbook)
(i will get round to adding more protection at some point)
4. Fix a Blunder Made by me, in v2.0.3 with Staff Tools.
(tools was posting in wrong rooms)
* - owners tools used in room2, 3, 4, 5 & stafrrom, only appeared in room1,
* - admin tools used in all rooms, only appeared in staffroom.
* - mod tools was fine. no errors.
Basically EVERY Single File Has Had A Code Change Some way or another.
(No Updates Was Lost From v2.0.3 final release)
================================================== ====
if you test this and it works.
if you like the new changes hit the like button.
if you wanna say thank you. hit the thanks button.
================================================== ====
Enjoy. Ghost
Demo: Mobile Chat wml v3
Comment