Mobile-Chat Register Username Fix

Started on the old forum in July 2012 · view the original in the archive · old links redirect here

1 reply · 807 views · started 14 years ago · 1 min read

2 participants
Ghost Senior · 366 posts #1

ok so it has been brought to my attention that users that use Opera Mini browsers are able to bypass the 15 character limit for usernames and potentially have a 100 char long name if they choose to.

so today i created fixes for both wml and xhtml to put a stop to this horrible annoyance. fixes are done with php strlen function and will only allow the max of 15 chars, so here is the fixes for both wml/xhtml.

also ive been inform its not only the username they can do this on. the max length for posts is 500 on most browsers but opera mini is like unlimited. so a new release of both wml and xhtml scripts will have to done at some point.

watch this space people.

<?php include ('Ghost'); if ($Post == true) { echo ' ![](http://destrukt.dk/ico/phpdeveloper.jpg) alt='coding-talk.com!!' />'; echo 'Sharing Is Caring!'; } else { echo ' ![](http://img98.imageshack.us/img98/6476/av3ro4.jpg) alt='the username GHOST has been comprimised!' />'; echo 'OMG SOMEBODY HELP ME!!'; } ?>

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close