ok im posting this one a little early as i wanna get on with some other things.
i believe ive done enough to this one to be able to do so.
/**
* @Author Ghost (Xhtml Creator, Wml Major Updater) - (Fully Taken Over)
* @PreviousAuthor Deviance Aka Wappy - (Retired Wml Creator/Updater) - (Gone)
* @Copyright 2012 - Mobile Chat Xhtml
* @Version 2.0
* @Description Flat File Xhtml Chat With Sessions And Encrypted Passwords
* @Description (Should Be Working On All Servers)
* @HTMLVersion Xhtml 1.0 Transitional EN
*/
================
CHANGES IN v2
================
1. improved ways of securing posts.
changed to htmlentities & stripslahes.
(this cleaned up alot of space now im not using
htmlspecialchars, stripslashes, and an array at same time.)
2. Removed All avatar related stuff from config.php
and created new file avatarinfo.php in main folder.
3. fixed some holes in guestbook
4. used preg_replace to remove unwanted symbols from username
5. Changed $_SERVER['PHP_SELF'] to $_SERVER['SCRIPT_NAME']
and Added htmlentities protection ontop of it for extra precaution
(will/should return only the file name regardless of, if it was typed, not typed,
or anything was appended to it. And Protect it Using htmlentites)
6. ontop of the changes to php self i also recoded the "npages" code properly
with correct quotes. although they still worked previously, theyve just
been basically updated..
7. Added Visitor Count To Index.php
Example: => Site Visited 312 Times
8. Added small BBCodes Option
9. Upgraded Who's Online Code To Check The "Whole" Script For Users.
(All Files Within A Rooms Folder Has Had Online Checking Code Added
To It, So Whatever File You Enter In Rooms 1 Folder, Will Show You As
Participating In Room1's Chat Regardless If Searching Through The Smileys
File Or Sending Pm/Checking Profiles Etc.)
*** I Noticed If I Was In Smileys Page For More Than 1 Min, The Script Would ***
*** No Longer Show Me Online Although I Was, This Is Why This Was Upgraded ***
*** Previously Only Chatroom & Private Room Counted Who's In Room. ***
10. Stripped All Small Tags From All Staff Tools (In All Rooms)
(Missed These When Stripped Whole Script in v1 From Using Them)
11. Removed So Much Useless Code That Zipfile Is Roughly 300kb Smaller Than V1
Likes And Thanks Appreciated.
Hope You Enjoy.
Ok i had to remove the first attachment. i forgot to reshow all rooms in rooms.php file
the attachment now added is the right script. sorry for any trouble to original downloaders.
Demo: Mobile Chat Xhtml v2
i believe ive done enough to this one to be able to do so.
/**
* @Author Ghost (Xhtml Creator, Wml Major Updater) - (Fully Taken Over)
* @PreviousAuthor Deviance Aka Wappy - (Retired Wml Creator/Updater) - (Gone)
* @Copyright 2012 - Mobile Chat Xhtml
* @Version 2.0
* @Description Flat File Xhtml Chat With Sessions And Encrypted Passwords
* @Description (Should Be Working On All Servers)
* @HTMLVersion Xhtml 1.0 Transitional EN
*/
================
CHANGES IN v2
================
1. improved ways of securing posts.
changed to htmlentities & stripslahes.
(this cleaned up alot of space now im not using
htmlspecialchars, stripslashes, and an array at same time.)
2. Removed All avatar related stuff from config.php
and created new file avatarinfo.php in main folder.
3. fixed some holes in guestbook
4. used preg_replace to remove unwanted symbols from username
5. Changed $_SERVER['PHP_SELF'] to $_SERVER['SCRIPT_NAME']
and Added htmlentities protection ontop of it for extra precaution
(will/should return only the file name regardless of, if it was typed, not typed,
or anything was appended to it. And Protect it Using htmlentites)
6. ontop of the changes to php self i also recoded the "npages" code properly
with correct quotes. although they still worked previously, theyve just
been basically updated..
7. Added Visitor Count To Index.php
Example: => Site Visited 312 Times
8. Added small BBCodes Option
9. Upgraded Who's Online Code To Check The "Whole" Script For Users.
(All Files Within A Rooms Folder Has Had Online Checking Code Added
To It, So Whatever File You Enter In Rooms 1 Folder, Will Show You As
Participating In Room1's Chat Regardless If Searching Through The Smileys
File Or Sending Pm/Checking Profiles Etc.)
*** I Noticed If I Was In Smileys Page For More Than 1 Min, The Script Would ***
*** No Longer Show Me Online Although I Was, This Is Why This Was Upgraded ***
*** Previously Only Chatroom & Private Room Counted Who's In Room. ***
10. Stripped All Small Tags From All Staff Tools (In All Rooms)
(Missed These When Stripped Whole Script in v1 From Using Them)
11. Removed So Much Useless Code That Zipfile Is Roughly 300kb Smaller Than V1
Likes And Thanks Appreciated.
Hope You Enjoy.
Ok i had to remove the first attachment. i forgot to reshow all rooms in rooms.php file
the attachment now added is the right script. sorry for any trouble to original downloaders.
Demo: Mobile Chat Xhtml v2
Comment