Re: [PHP] Check if a word is in my string.

2001-08-28 Thread Papp Gyozo
Hi, use: preg_match('/\Wgood\W/',$var); or preg_match('/\bgood\b/',$var); I don't know exactly. - Original Message - From: Brandon Orther <[EMAIL PROTECTED]> To: PHP User Group <[EMAIL PROTECTED]> Sent: Wednesday, August 29, 2001 12:02 AM Subject: [PHP] Check if a word is in my

Re: [PHP] htaccess and $PHP_AUTH_USER

2001-08-28 Thread Papp Gyozo
Hi, There is a few scripts on Zend pages. I'm sure, this one of them will be very helpful: http://www.zend.com/zend/tut/authentication.php - Original Message - From: Rene Fournier <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 28, 2001 9:24 PM Subject: [PHP] htaccess

Re: [PHP] LONGINT... ? to be or not to be?...

2001-08-28 Thread Papp Gyozo
Hello, you should check the latest version of the manual: http://www.php.net/manual/en/language.types.integer.php more precisely and specifically the "integer overflow" section. I think, you should use the arbitrary precision integer extension. http://www.php.net/manual/en/ref.gmp.php hth ---

[PHP] suggestions

2001-08-28 Thread Glyndower
I have a medium sized db... with about 300 feilds and 15k rows. I need to create a search that will submit user input to seach the db from about 30 different feilds with some of those wildcards. i.e bedrooms, bathrooms, price, pool, city, etc Would using an array for the results page be the

RE: [PHP] Check if a word is in my string.

2001-08-28 Thread Jason Murray
> use: > preg_match('/\Wgood\W/',$var); > or > preg_match('/\bgood\b/',$var); Or, you could just try strstr($haystack, $needle) ... Jason -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "Work now, freak later!" -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] Embedding PHP in C

2001-08-28 Thread Chris Wilson
Hello Everyone I'm doing a project for which I want to have a C/C++ act as a process proxy for which can pass information and retrieve information from a called PHP script. I think that can be done in perl however perl I don't take is the best langauge. I've fell in love with PHP and would love u

Re: [PHP] fix my query please

2001-08-28 Thread Martín Marqués
On Mar 28 Ago 2001 17:29, Jeremy Morano wrote: > an somebody please fix up my query. > > > > > $connection = @mysql_connect("l", "c", "c") or die("Couldn't connect."); > > $db = @mysql_select_db($db_name, $connection) or die("Couldn't select > database."); > > > > $sql = "SELECT distinct users.uid

Re: [PHP] Putting variables in a string

2001-08-28 Thread Papp Gyozo
Hi, try to change the line in that loop to this one: $sql .= $key.' = '.$$key.', '; - Original Message - From: P.Agenbag <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 28, 2001 7:54 PM Subject: [PHP] Putting variables in a string > I am trying to make a string that w

RE: [PHP] iODBC Troubles / Troubles in ODBC Land

2001-08-28 Thread Andrew Hill
Jonathan, It looks like you are mixing threaded and non-threaded libraries. I assume PHP is non-threaded here, ensure you are using the non-threaded version of iODBC and check with your MyODBC driver maintainer for a libmyodbc.so that is non-threaded. Also, you may wish to just post these questi

<    1   2   3