Jump to content

checking is specific words are in the form


seany123

Recommended Posts

im currently in the progress of doing a page where players can have avatars (by inserting the url of image)

 

 

however i have noticed that people have been able to use urls from my website which will give them +rep

 

so what i wanna do is stop them being able to use the word mafiakillerz in the form

 

so something like

 

<?php

if($_POST['avatar'] includes "mafiakillerz")

{

echo "no";

}

?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.