1
Heya, I'm having a big headache on how to enable Colons ":" in a field when a user registers, Whenever its posted, XOOPS or something strips all the :'s out of the field, before it enters register.php as a post var, ive searched for a good 3 hours now on how its doing that, but i still have no clue whats causing it to be santalised, Ive removed all myts from the variables associated with it.
REGISTERFORM.php
// Steam Verifcation
$reg_form->addElement(new XoopsFormText("Steam Profle", "url", 25, 255, $myts->htmlSpecialChars($steam)));
$reg_form->addElement(new XoopsFormTextSteam("Your Steam ID", "steamid",23, 23, $steamid), true);
$reg_form->addElement(new XoopsFormText("Your Steam Verifcation Code ?", "steamvar",11, 10, $steamvar), true);
REGISTER.php
$steamid = isset($_POST['steamid']) ? $_POST['steamid'] : '';
$steamvar = isset($_POST['steamvar']) ?
$myts->stripSlashesGPC($_POST['steamvar']) : '';
The steamvar doesent need the colons in it so i left stripslashes on, but the steamid is in the format: STEAM_X:Y:|ZZZZZZZ
When it comes out its in the format
STEAM_XYZZZZZZZ
Shown by a Print $steamid; after storing the variable.
someone please save me xD
Thanks a lot :)