Pls i want a code that will prevent the use of some names in registering..pls help
http://myfacepals.com MYFACEPALS SOCIAL NETWORKExternal image (may be gone)
Started on the old forum in January 2010 · view the original in the archive · old links redirect here
Pls i want a code that will prevent the use of some names in registering..pls help
http://myfacepals.com MYFACEPALS SOCIAL NETWORKExternal image (may be gone)
Set the blocked words or names in the $blockwords variable by inputting words between the " ", each word should be in lowercase letters, and each word should be separated by a comma , example $blockwords="casino,badword"; If a block word value appears in a form field form processing will be stopped.
To use this code adjust the $blockwords value to the words you want to block, copy and paste all the script code (including the php start and end tags) to the very top of your Form1 form processing code above all other code.
[HIDE-THANKS]
$blockwords="casino,badword";
if(!empty($blockwords)&&!empty($_POST))
{$useBlocks=explode(",",$blockwords);foreach($useBlocks as $blockWord)
{foreach($_POST as $Name=>$Value){$Value=trim($Value);$Value=strtolower($Value);
if(!empty($Value)&&strpos($Value,$blockWord)!==false){exit();}}}}?>
[/HIDE-THANKS]
BakGat
class Counter {
public:
void Count();
int ReadDisplay();
private:
int CurrentCount;
};
External image (may be gone) External image (may be gone) External image (may be gone)
Back up my hard drive? How do I put it in reverse? http://www.hackthissite.org Profile…
//////// adedd on 05.01.2010 //////// huh lol i just noticed that i've posted code in wrong thread😳 actually code would be usefull to
makvanpor2000 wrote: ...prevent the use of s**A**me names in registering...
and would not
makvanpor2000 wrote: ...prevent the use of some names in registering... as requested lol😳
It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!