Computer Science Canada PHP chat room help |
Author: | Phenomena [ Thu Mar 29, 2007 7:28 pm ] | ||
Post subject: | PHP chat room help | ||
So I'm working on my first real php project. I'm still learning but I think im off to good a start. I started to create a simple chat room for learning purpose. (http://modhalotrial.com/php_stuff/chat_room) (site is currently down) I just need help with a few things how do i create censored words (using the mysql db with the tables id, before, after) and an auto refresh for the chat because right now new posts only show up when you post or refresh ![]() heres my code (remember im still new at this so dont tear it shreds ![]()
|
Author: | Komstadter [ Sun Apr 01, 2007 10:54 pm ] |
Post subject: | RE:PHP chat room help |
http://www.php.net/manual/en/function.preg-replace.php Edit: What you want to do is: Array of bad words For each bad word $post = preg_replace(bad word, one * for each letter, $_POST['text']); End For |
Author: | arun_sira [ Tue Apr 10, 2007 4:50 am ] |
Post subject: | RE:PHP chat room help |
actuall i want to run one script during run time. the script was available in database. how can i able to run the script. Database contain table Script In that Script table contain set of scripts, during run time, i want to run any one script from the table. |