1
icepick66
Allowing : 's in user registration
  • 2008/2/21 22:46

  • icepick66

  • Just popping in

  • Posts: 20

  • Since: 2004/9/25


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"25255$myts->htmlSpecialChars($steam)));
$reg_form->addElement(new XoopsFormTextSteam("Your Steam ID""steamid",2323$steamid), true);
$reg_form->addElement(new XoopsFormText("Your Steam Verifcation Code <a href='whatsthis.html' target='_blank'>?</a>""steamvar",1110$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 :)

2
icepick66
Re: Allowing : 's in user registration
  • 2008/2/22 11:58

  • icepick66

  • Just popping in

  • Posts: 20

  • Since: 2004/9/25


Okay, narrowed it down to be protector,

Thing is the website allows :'s

But nothing else is allowed, yet, I cant find in protector where it excludes checking for :'s for the url feild

Login

Who's Online

227 user(s) are online (136 user(s) are browsing Support Forums)


Members: 0


Guests: 227


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits