Re: [PHP] need help with MySQL full text searching!!!!

2003-07-22 Thread Andrei BEJENARU
e a fulltext index on that column. If your query searches in more than one column, you have to add a multicolumn index on all those columns. And also, the string (word) you are matching must be over 4 characters (maybe not on MySQL 4.x, but surely on MySQL 3) Regards, -- Andrei BEJENARU - Developer

[PHP] Re: template engine

2003-06-19 Thread Andrei BEJENARU
You must use $template = preg_replace("!{for loops=(.*)}(.*){/for}!U", code('\\1','\\2'), $template); since the references are of the form \\n Andrei BEJENARU "Niels Uhlendorf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi,

[PHP] Re: GD library update

2003-06-19 Thread Andrei BEJENARU
u must download the big zip distribution, as it has all the needed libraries. Follow the instructions in the install readme file and you should have no problems. Andrei BEJENARU -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Password generator

2003-06-17 Thread Andrei BEJENARU
Here's a little function that could help you... It uses the ASCII table to generate the characters and it still needs to be customized for any length and to deny the use of the special characters... Don't forget to set the mt seed! function generatePassword() { $passwd = ""; while(strlen($passwd