Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
[Release] R63B Forums [RevCMS]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="BIOS" data-source="post: 376668" data-attributes="member: 15674"><p>Not really a fan of this myself, may be useful for some who want a base to build on however.</p><p></p><p>Also just some quick advice for the future, use prepared statements if possible or escape values if not as I've seen a number of queries in this which are raw. is_numeric isn't really efficient to use in your case for thread/post ID's as it allows floats and potentially hex/oct values, instead something like ctype_digit would be more reliable to validate whole numbers.</p></blockquote><p></p>
[QUOTE="BIOS, post: 376668, member: 15674"] Not really a fan of this myself, may be useful for some who want a base to build on however. Also just some quick advice for the future, use prepared statements if possible or escape values if not as I've seen a number of queries in this which are raw. is_numeric isn't really efficient to use in your case for thread/post ID's as it allows floats and potentially hex/oct values, instead something like ctype_digit would be more reliable to validate whole numbers. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
CMS Releases
[Release] R63B Forums [RevCMS]
Top