[PHP] To mysqli or not to mysqli

2005-04-20 Thread list_php_general
Looks like mysqli is the new method of talking to mysql? Should I be moving away from the legacy mysql_* functions? I'm running php5 and mysql 4.1.11 on IIS5 and Apache 2. John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Installation Warning?

2005-04-08 Thread list_php_general
Hi all, I'm in the process of getting started on a new web app and want to compare performance etc. of: php5, MySQL, Apache and Smarty on Windows 2000 Server vs. Red Hat Linux FC3 While installing php5, in the install doc it says Do not use Apache 2.0.x and PHP in a production environment

re: [PHP] Installation Warning?

2005-04-08 Thread list_php_general
So it seems that Apache's multi-threading is the issue. So IIS is the way to go then or Apache 1.x eh? The trouble with going the Apache 1.x route is that I've been having trouble downgrading from 2.x to 1.x... Well someday I'll find a use for Linux...The check is in the mail, Mr. Gates. John

[PHP] Regular Expressions?

2005-04-08 Thread list_php_general
Windows 2000 Server IIS 5/Apache 1.3.33 MySQL 4.1.1 Smarty 2.6.9 PHP 5.0.3 Hi all, I am looking for help handling a form input to SQL. I believe the solution has to do with regular expressions. My big problem is that when a user submits data such as: Joe's Crabshack The ' apostrophe or can

RE: [PHP] Regular Expressions?

2005-04-08 Thread list_php_general
Ok that would solve my SQL statements from breaking but how about in the submitted form data at submit time? John [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] on Friday, April 08, 2005 3:43 PM said: The ' apostrophe or can cause an early truncation of the data. My code thinks that the