Pages: 1

  2008-12-20 03:23:03

Refresh/Reload
» FTalkAddict
FTalk Level: zero
332
0
1969-12-31

What part of my WVM CSS or PHP file should i edit to control the number of characters on my viewers name... say like about 15 characters only... :wallbash: or remove all those special characters!! =D

wahhh :crybaby: still no luck!! :wallbash: I think it has something to do with those special characters... i saw some examples on php forums and it goes like below... [b]removing special characters[/b] [quote]$name = $_GET['name']; $var = $name; $stripped = ereg_replace("[^A-Za-z0-9 ]", "", $var); echo $stripped;[/quote] or this two... [quote]$text = preg_replace('/[^a-zA-Z0-9_ -]/s', '', $text); $text= preg_replace('/[^\w\d_ -]/si', '', $text);[/quote] it's about accepting 0-9 and a(A) to z(Z) characters only and that's what i want on my WVM tracker. heheh... i'm still :wasted: when it comes to php... i have no idea how to apply those examples...:wallbash: anyways Thanx friend!! :D I hope i can or somebody can figure it out later... :D

Pages: 1

Board footer

© 2024 F Talk

Current time is 02:41

[ 12 queries - 0.011 second ]
Privacy Policy