TWLan Forum

Full Version: v1.4; changing *tribe* name/tag... / another HTML issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
You cannot change the tribe name without changing the tribe tag and vice versa.

It's also checking the length on an escaped string instead of a unescaped one.
That means that \\\ is OK, but \\\\ gives an error about the tag length.

Btw, have you never heard of mysql_real_escape_string?
Data in the database are all urlencoded.
The database is not optimized for DS LAN.
lan.ally.short is a VARCHAR(100), but it has only a length of 6 characters (18 when urlencoded).
An username shouldn't be longer than 20.
The database use 150.
Unsigned int is preffered over signed int if you don't need negative values.

Oh, and the tribe is twice HTML escaped on the map.