Hi,
I'm having trouble finding a function to check a variable against an array of bad words. The closest I can come is ereg, preg, etc. What would be the easist way to do this?
Thanks,
Eric
Search found 16 matches
- Sat Jan 21, 2006 10:26 am
- Forum: PHP - Code
- Topic: bad word filter
- Replies: 8
- Views: 1403
- Thu Aug 04, 2005 7:42 pm
- Forum: PHP - Code
- Topic: php script not inserting data into database
- Replies: 5
- Views: 380
- Thu Aug 04, 2005 7:37 pm
- Forum: PHP - Code
- Topic: php script not inserting data into database
- Replies: 5
- Views: 380
- Thu Aug 04, 2005 7:15 pm
- Forum: PHP - Code
- Topic: php script not inserting data into database
- Replies: 5
- Views: 380
- Thu Aug 04, 2005 4:36 pm
- Forum: PHP - Code
- Topic: php script not inserting data into database
- Replies: 5
- Views: 380
php script not inserting data into database
I have a mysql script that should, under all circumstances, insert data into a database. here's the part of the script responsible for the insertion: if (($reviewer) && ($review)) { $episode = getepname($epcode); $username = "*****"; $password = "*****"; $database = "...
- Mon Jul 25, 2005 3:20 pm
- Forum: PHP - Code
- Topic: simple sql query not working
- Replies: 3
- Views: 254
- Mon Jul 25, 2005 2:35 pm
- Forum: PHP - Code
- Topic: simple sql query not working
- Replies: 3
- Views: 254
simple sql query not working
I'm working on some code that will serve as a function of a bigger script. I couldn't get the function working, so I put the query in it's own php file just to test it... heres the code: <?php $username = "*****"; $password = "*****"; $database = "quahog5news_com_-_informati...
- Sun Nov 28, 2004 12:24 pm
- Forum: PHP - Code
- Topic: content retrieval script
- Replies: 2
- Views: 329
content retrieval script
Hello, i'm looing for a free script that will allow me to retrieve the show times located at this page: http://schedule.adultswim.com/servlet/ScheduleServlet?action=viewAll&showID=325795&show=Family+Guy&filter=as I've searched all over the web and have not found a script that works. Thanks
- Sun Mar 28, 2004 3:45 pm
- Forum: PHP - Code
- Topic: simple mysql vote script
- Replies: 1
- Views: 317
simple mysql vote script
Here's the code: <?php mysql_connect(localhost,$username,$password); @mysql_select_db($database) or die("Unable to select database"); $query = "SELECT * FROM video WHERE id='$id'"; $result = mysql_query($query); while ($r = mysql_fetch_array($result)) { $vote = $_GET['vote']; $vo...
- Fri Mar 26, 2004 7:08 pm
- Forum: PHP - Code
- Topic: simple sql search script
- Replies: 7
- Views: 914
- Fri Mar 26, 2004 6:53 pm
- Forum: PHP - Code
- Topic: simple sql search script
- Replies: 7
- Views: 914
- Fri Mar 26, 2004 6:39 pm
- Forum: PHP - Code
- Topic: simple sql search script
- Replies: 7
- Views: 914
- Fri Mar 26, 2004 6:29 pm
- Forum: PHP - Code
- Topic: simple sql search script
- Replies: 7
- Views: 914
simple sql search script
I cannot figure out why this isn't working- can someone shed some light please? <? $db = mysql_connect('localhost', $username, $password); @mysql_select_db($database) or die("Unable to select database"); $sql = "SELECT name FROM characters WHERE name LIKE '$keys' "; $sql_result =...
- Wed Mar 17, 2004 3:52 pm
- Forum: PHP - Code
- Topic: check ftp server for number of connections?
- Replies: 4
- Views: 570
- Wed Mar 17, 2004 3:27 pm
- Forum: PHP - Code
- Topic: check ftp server for number of connections?
- Replies: 4
- Views: 570