Re: [PHP] Unexplained Issue Using Regex

2009-03-07 Thread Jochem Maas
Nitsan Bin-Nun schreef: Hi lista, I have been trying to figure this out for the last couple of hours but I'm lack of luck. Take a look at these regex's, the string that was inputed into the preg_replace (using Uis modificators) and the results: (the lists have correspondence to each other)

Re: [PHP] Unexplained Issue Using Regex

2009-03-07 Thread 9el
On Sat, Mar 7, 2009 at 2:37 PM, Jochem Maas joc...@iamjochem.com wrote: Nitsan Bin-Nun schreef: Hi lista, I have been trying to figure this out for the last couple of hours but I'm lack of luck. Take a look at these regex's, the string that was inputed into the preg_replace (using

Re: [PHP] Unexplained Issue Using Regex

2009-03-07 Thread Nitsan Bin-Nun
There is no reason to share the code because it happens with almost ALL the regex's I'm using :( But I worked this out using Todd's solution. Thank you all for trying to help. On Sat, Mar 7, 2009 at 11:06 AM, 9el le...@phpxperts.net wrote: On Sat, Mar 7, 2009 at 2:37 PM, Jochem Maas

Re: [PHP] Unexplained Issue Using Regex

2009-03-07 Thread 9el
--- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door without any cost. Visit : www.ubuntu.com --

Re: [PHP] Unexplained Issue Using Regex

2009-03-07 Thread Nitsan Bin-Nun
Yes you can ;) and I'm using ubuntu :P On Sat, Mar 7, 2009 at 12:08 PM, 9el le...@phpxperts.net wrote: --- Use FreeOpenSourceSoftwares, Stop piracy, Let the developers live. Get a Free CD of Ubuntu mailed to your door

Re: [PHP] Re: Sending out large amounts of email

2009-03-07 Thread Richard Heyes
thanks a thousand A thousand? That's a bit stingy - usually it's thanks a million... :-) -- Richard Heyes HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari: http://www.rgraph.net (Updated February 28th) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Unexplained Issue Using Regex

2009-03-07 Thread 9el
On Sat, Mar 7, 2009 at 4:10 PM, Nitsan Bin-Nun nit...@binnun.co.il wrote: Yes you can ;) and I'm using ubuntu :P There's a fun joke in My Mothertongue Bangla (5th most spoken in the world by about 300million). Anis dis na = Take but never giveaway Anis is a common arabic name but in

Re: [PHP] VAT number validation

2009-03-07 Thread Clara
I found another implementation in PHP to validate EU-VAT-numbers here: http://www.acc.bg/vat-validation.html VAT number validation It also shows company name and address for some member states. Can someone help how to implement? THX Clara -- View this message in context:

Re: [PHP] Re: Sending out large amounts of email

2009-03-07 Thread 9el
On Sat, Mar 7, 2009 at 4:11 PM, Richard Heyes rich...@php.net wrote: thanks a thousand A thousand? That's a bit stingy - usually it's thanks a million... In this particular case I guess thousand is a larger value than million :D takes a longer to type :-) -- Richard Heyes HTML5

Re: [PHP] VAT number validation

2009-03-07 Thread cr.vegelin
I believe this validator is the original one: http://ec.europa.eu/taxation_customs/vies/ HTH, Cor - Original Message - From: Clara frechd...@gmail.com To: php-general@lists.php.net Sent: Saturday, March 07, 2009 11:19 AM Subject: Re: [PHP] VAT number validation I found another

Re: [PHP] VAT number validation

2009-03-07 Thread Clara
Thanks a lot, I will better set an iframe to the official validator as a start :) Clara. cr.vegelin wrote: I believe this validator is the original one: http://ec.europa.eu/taxation_customs/vies/ HTH, Cor - Original Message - From: Clara frechd...@gmail.com To:

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread Robert Cummings
On Sat, 2009-03-07 at 02:12 -0500, Paul M Foster wrote: On Sat, Mar 07, 2009 at 11:29:41AM +1100, Clancy wrote: On Fri, 6 Mar 2009 08:53:44 -0500, danbr...@php.net (Daniel Brown) wrote: On Fri, Mar 6, 2009 at 00:12, Clancy clanc...@cybec.com.au wrote: snip Then you'll be

[PHP] Re: Unexplained Issue Using Regex

2009-03-07 Thread Nisse Engström
On Fri, 6 Mar 2009 21:32:53 +0200, Nitsan Bin-Nun wrote: Hi lista, I have been trying to figure this out for the last couple of hours but I'm lack of luck. Take a look at these regex's, the string that was inputed into the preg_replace (using Uis modificators) and the results: (the lists

Re: [PHP] verify problem

2009-03-07 Thread Ashley Sheridan
On Thu, 2009-03-05 at 19:58 -0800, Michael A. Peters wrote: PJ wrote: Nathan Rixham wrote: Chris wrote: PJ wrote: And again, this works: if (strlen($_POST[first_nameIN]) == 0 ) { $obligatoryFieldNotPresent = 1; ... this does not: if (strlen($_POST[first_nameIN]) 0

[PHP] Database Abstraction Class

2009-03-07 Thread Michael A. Peters
In some earlier thread (I really don't want to dig to find it) I argued for running mysql_real_escape_string right on the _POST I must concede I was definitely wrong about that. The right place to do it is in a database abstraction class that does the actual insert for you, so that if you

Re: [PHP] verify problem

2009-03-07 Thread Nathan Rixham
Ashley Sheridan wrote: On Thu, 2009-03-05 at 19:58 -0800, Michael A. Peters wrote: PJ wrote: Nathan Rixham wrote: Chris wrote: PJ wrote: And again, this works: if (strlen($_POST[first_nameIN]) == 0 ) { $obligatoryFieldNotPresent = 1; ... this does not: if

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Richard Heyes
Hi, Anywhoo, that being said, does anyone have a suggestion for a good database abstraction class? Ooh, I think you'll get the odd one or two... Preferably one that already has decent support for several open source databases? PEAR::DB was good, but IIRC it's now been deprecated in favour

Re: [PHP] VAT number validation

2009-03-07 Thread Daniel Brown
On Sat, Mar 7, 2009 at 05:49, Clara frechd...@gmail.com wrote: Thanks a lot, I will better set an iframe to the official validator as a start :) Clara, In the future, please just start a new thread as opposed to hijacking on that is six months old. It'll get more attention and keep

Re: [PHP] verify problem

2009-03-07 Thread Ashley Sheridan
On Sat, 2009-03-07 at 13:42 +, Nathan Rixham wrote: Ashley Sheridan wrote: On Thu, 2009-03-05 at 19:58 -0800, Michael A. Peters wrote: PJ wrote: Nathan Rixham wrote: Chris wrote: PJ wrote: And again, this works: if (strlen($_POST[first_nameIN]) == 0 ) {

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread Daniel Brown
On Sat, Mar 7, 2009 at 02:12, Paul M Foster pa...@quillandmouse.com wrote: Someone would add gotos to a language *on purpose*?! Keep in mind that, unlike BASIC, the PHP implementation of GOTO will go to a label. Don't worry, you don't have to start line programming. ?php 10:

Re: [PHP] verify problem

2009-03-07 Thread Nathan Rixham
Ashley Sheridan wrote: On Sat, 2009-03-07 at 13:42 +, Nathan Rixham wrote: Ashley Sheridan wrote: On Thu, 2009-03-05 at 19:58 -0800, Michael A. Peters wrote: PJ wrote: Nathan Rixham wrote: Chris wrote: PJ wrote: And again, this works: if (strlen($_POST[first_nameIN]) == 0 ) {

Re: [PHP] verify problem

2009-03-07 Thread Ashley Sheridan
On Sat, 2009-03-07 at 14:06 +, Nathan Rixham wrote: Ashley Sheridan wrote: On Sat, 2009-03-07 at 13:42 +, Nathan Rixham wrote: Ashley Sheridan wrote: On Thu, 2009-03-05 at 19:58 -0800, Michael A. Peters wrote: PJ wrote: Nathan Rixham wrote: Chris wrote: PJ wrote: And

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Michael A. Peters
Richard Heyes wrote: Hi, Anywhoo, that being said, does anyone have a suggestion for a good database abstraction class? Ooh, I think you'll get the odd one or two... Preferably one that already has decent support for several open source databases? PEAR::DB was good, but IIRC it's now

Re: [PHP] verify problem

2009-03-07 Thread Michael A. Peters
Ashley Sheridan wrote: I'm more a fan of lining up opening and closing brackets so they are at the same indent level. It prevents one of the most popular errors caused by omitting a bracket, brace or other in the wrong place. A few extra line breaks in the code are not going to make a

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Richard Heyes
Hi, Never used pear before, but I seem to recall there being some issues where pear did not provide very good forward support when moving to new versions of php causing a need to recode. Is that still an issue? Don't really know. I've not really had a problem with the stuff that I've written.

Re: [PHP] verify another flavor

2009-03-07 Thread PJ
Paul M Foster wrote: On Fri, Mar 06, 2009 at 10:49:12AM -0600, haliphax wrote: snip I would go about it like this: $sql1 = select concat_ws(' ', first_name, last_name) as Author_Name from author where first_name = '$first_nameIN' and last_name = '$last_nameIN'; If you already know the

Re: [PHP] insert array values

2009-03-07 Thread PJ
Jim Lucas wrote: PJ wrote: 9el wrote: On Sat, Mar 7, 2009 at 5:37 AM, PJ af.gour...@videotron.ca mailto:af.gour...@videotron.ca wrote: I've done some rethingking and this may be the direction to go: What I need to wind up with is something like this: $sql = INSERT

Re: [PHP] verify problem

2009-03-07 Thread Nathan Rixham
Michael A. Peters wrote: Ashley Sheridan wrote: I'm more a fan of lining up opening and closing brackets so they are at the same indent level. It prevents one of the most popular errors caused by omitting a bracket, brace or other in the wrong place. A few extra line breaks in the code are

[PHP] assign array values to variables

2009-03-07 Thread PJ
Seems it should be simple, but how does one extract values from an array and assign them to a variable? foreach ($categoriesIN as $category) { echo $categorybr; } or if(!empty($_POST['categoriesIN'])){ foreach( $_POST['categoriesIN'] as $key = $value) { echo value = $valuebr; }

Re: [PHP] verify problem

2009-03-07 Thread Michael A. Peters
Nathan Rixham wrote: actually much of this discussion is null and voided by using a decent IDE, certainly eclipse, netbeans, zend ide all handle much of the formatting and indenting - the one gripe I have is that PDT2 is lacking the format source option which is a vast time-saver when using

Re: [PHP] assign array values to variables

2009-03-07 Thread Jochem Maas
PJ schreef: Seems it should be simple, but how does one extract values from an array and assign them to a variable? foreach ($categoriesIN as $category) { 1. if $categoriesIN comes from a POST, use $_POST['categoriesIN'] instead. better yet use the filter extension (part of the core) to

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread Paul M Foster
On Sat, Mar 07, 2009 at 05:52:55AM -0500, Robert Cummings wrote: On Sat, 2009-03-07 at 02:12 -0500, Paul M Foster wrote: On Sat, Mar 07, 2009 at 11:29:41AM +1100, Clancy wrote: On Fri, 6 Mar 2009 08:53:44 -0500, danbr...@php.net (Daniel Brown) wrote: On Fri, Mar 6, 2009 at 00:12,

Re: [PHP] verify problem

2009-03-07 Thread Paul M Foster
On Sat, Mar 07, 2009 at 02:13:11PM +, Ashley Sheridan wrote: snip And spaces instead of tabs! That's heresy! No, it's python. ;-} Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Eric Butera
On Sat, Mar 7, 2009 at 8:04 AM, Michael A. Peters mpet...@mac.com wrote: In some earlier thread (I really don't want to dig to find it) I argued for running mysql_real_escape_string right on the _POST I must concede I was definitely wrong about that. The right place to do it is in a database

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Nitsan Bin-Nun
I'm personally using CI DB abstraction layer, also used zend_db, they both good but as Eric said, I think PDO is a better option. On Sat, Mar 7, 2009 at 7:34 PM, Eric Butera eric.but...@gmail.com wrote: On Sat, Mar 7, 2009 at 8:04 AM, Michael A. Peters mpet...@mac.com wrote: In some earlier

Re: [PHP] include question

2009-03-07 Thread Nathan Rixham
Daniel Brown wrote: On Fri, Mar 6, 2009 at 08:53, Stuart stut...@gmail.com wrote: 1.) We use regular open tags to be compatible with all stock PHP configurations. 2.) We echo out the response from dirname() so that it's output to the HTML source. 3.) We use dirname() twice,

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread Robert Cummings
On Sat, 2009-03-07 at 11:39 -0500, Paul M Foster wrote: On Sat, Mar 07, 2009 at 05:52:55AM -0500, Robert Cummings wrote: On Sat, 2009-03-07 at 02:12 -0500, Paul M Foster wrote: On Sat, Mar 07, 2009 at 11:29:41AM +1100, Clancy wrote: On Fri, 6 Mar 2009 08:53:44 -0500,

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread 9el
They probably thought you couldn't handle the responsibility... and if you can't think for yourself then they may be right ;) Once we have goto, it's a short slide down a slippery slope to setjmp and longjmp. And thence, the apocalypse. ;-} Or maybe nirvana is just over the horizon! You

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread Robert Cummings
On Sun, 2009-03-08 at 01:54 +0600, 9el wrote: They probably thought you couldn't handle the responsibility... and if you can't think for yourself then they may be right ;) Once we have goto, it's a short slide down a slippery slope to setjmp and longjmp. And thence, the apocalypse.

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread Daniel Brown
On Sat, Mar 7, 2009 at 15:23, Robert Cummings rob...@interjinn.com wrote: ?php for( ; ; ) {    echo You can make an endless loop in many, many ways.\n; } ? ?php while(1) echo Yup.\n; ? -- /Daniel P. Brown daniel.br...@parasane.net || danbr...@php.net http://www.parasane.net/ ||

Re: [PHP] insert array values

2009-03-07 Thread PJ
Jim Lucas wrote: PJ wrote: 9el wrote: On Sat, Mar 7, 2009 at 5:37 AM, PJ af.gour...@videotron.ca mailto:af.gour...@videotron.ca wrote: I've done some rethingking and this may be the direction to go: What I need to wind up with is something like this: $sql = INSERT INTO book_categories (

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Paul M Foster
On Sat, Mar 07, 2009 at 12:34:40PM -0500, Eric Butera wrote: snip PDO. :) Anything else is a waste of cpu cycles. I've looked into PDO, and I just didn't find it as feature-rich as the native (non-OO) function assortment for database types like MySQL and PostgreSQL. Can PDO be extended?

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Eric Butera
On Sat, Mar 7, 2009 at 5:07 PM, Paul M Foster pa...@quillandmouse.com wrote: On Sat, Mar 07, 2009 at 12:34:40PM -0500, Eric Butera wrote: snip PDO.  :)  Anything else is a waste of cpu cycles. I've looked into PDO, and I just didn't find it as feature-rich as the native (non-OO) function

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread Nathan Rixham
Daniel Brown wrote: On Sat, Mar 7, 2009 at 15:23, Robert Cummings rob...@interjinn.com wrote: ?php for( ; ; ) { echo You can make an endless loop in many, many ways.\n; } ? ?php while(1) echo Yup.\n; ? ?php echo 'yup' . PHP_EOL; include __FILE__; ? -- PHP General Mailing List

Re: [PHP] Re: if elseif elseif elseif....

2009-03-07 Thread Clancy
On Sun, 8 Mar 2009 01:54:22 +0600, le...@phpxperts.net (9el) wrote: They probably thought you couldn't handle the responsibility... and if you can't think for yourself then they may be right ;) Once we have goto, it's a short slide down a slippery slope to setjmp and longjmp. And thence,

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Nathan Rixham
Eric Butera wrote: On Sat, Mar 7, 2009 at 5:07 PM, Paul M Foster pa...@quillandmouse.com wrote: On Sat, Mar 07, 2009 at 12:34:40PM -0500, Eric Butera wrote: snip PDO. :) Anything else is a waste of cpu cycles. I've looked into PDO, and I just didn't find it as feature-rich as the native

Re: [PHP] assign array values to variables

2009-03-07 Thread PJ
Jochem Maas wrote: PJ schreef: Seems it should be simple, but how does one extract values from an array and assign them to a variable? foreach ($categoriesIN as $category) { 1. if $categoriesIN comes from a POST, use $_POST['categoriesIN'] instead. It does, but results are the same. Maybe it

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Eric Butera
On Sat, Mar 7, 2009 at 5:20 PM, Nathan Rixham nrix...@gmail.com wrote: Eric Butera wrote: On Sat, Mar 7, 2009 at 5:07 PM, Paul M Foster pa...@quillandmouse.com wrote: On Sat, Mar 07, 2009 at 12:34:40PM -0500, Eric Butera wrote: snip PDO.  :)  Anything else is a waste of cpu cycles.

[PHP] Backend autodatabase update

2009-03-07 Thread Andrew Williams
Dear All, I have written a back end php program that update live stream database and this data is streamed 24 hours a day. Please, what is the best way to make sure this program execute or runs 24 hours day. Best Wishes Andrew Williams www.willandy.co.uk

Re: [PHP] Backend autodatabase update

2009-03-07 Thread 9el
cronjob or deamon to execute the php file On Sun, Mar 8, 2009 at 4:56 AM, Andrew Williams andrew4willi...@gmail.comwrote: Dear All, I have written a back end php program that update live stream database and this data is streamed 24 hours a day. Please, what is the best way to make sure

Re: [PHP] Backend autodatabase update

2009-03-07 Thread George Larson
I'm new to the list, so maybe I've missed something. Please disregard if I'm blathering idiotically. What OS are you using? Do you mean that you want to run the job repetitively (again and again) or do you mean that you want to check that the job is still running and start, if it stopped? On

Re: [PHP] verify problem

2009-03-07 Thread Ashley Sheridan
On Sat, 2009-03-07 at 06:23 -0800, Michael A. Peters wrote: Ashley Sheridan wrote: I'm more a fan of lining up opening and closing brackets so they are at the same indent level. It prevents one of the most popular errors caused by omitting a bracket, brace or other in the wrong place. A

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-07 Thread Nathan Nobbe
On Sat, Mar 7, 2009 at 7:10 PM, Sashikanth Gurram sashi...@vt.edu wrote: Hello everyone, I am using a WAMP server for my coding purposes. My MySQL Version is 5.0.51b, PHP version is 5.2.6 and Apache version is 2.2.8 I have created a database with one of the tables containing a location of

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-07 Thread Sashikanth Gurram
I am just storing the location of the image(as a varchar type), not the image itself. For example for a particular image, the location is stored as C:\wamp\bin\apache\apache2.2.8\htdocs\Bldgs_lots\Burruss.jpg -sashi Nathan Nobbe wrote: On Sat, Mar 7, 2009 at 7:10 PM, Sashikanth Gurram

Re: [PHP] assign array values to variables

2009-03-07 Thread Nathan Nobbe
On Sat, Mar 7, 2009 at 3:20 PM, PJ af.gour...@videotron.ca wrote: Jochem Maas wrote: PJ schreef: Seems it should be simple, but how does one extract values from an array and assign them to a variable? foreach ($categoriesIN as $category) { 1. if $categoriesIN comes from a POST, use

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-07 Thread Nathan Nobbe
On Sat, Mar 7, 2009 at 8:12 PM, Sashikanth Gurram sashi...@vt.edu wrote: I am just storing the location of the image(as a varchar type), not the image itself. For example for a particular image, the location is stored as C:\wamp\bin\apache\apache2.2.8\htdocs\Bldgs_lots\Burruss.jpg echo

Re: [PHP] Backend autodatabase update

2009-03-07 Thread Nathan Nobbe
On Sat, Mar 7, 2009 at 3:56 PM, Andrew Williams andrew4willi...@gmail.comwrote: Dear All, I have written a back end php program that update live stream database and this data is streamed 24 hours a day. Please, what is the best way to make sure this program execute or runs 24 hours day. is

Re: [PHP] if elseif elseif elseif....

2009-03-07 Thread Naz
PJ wrote: This is probably a mysql question, but their list is rather dull - I think they don't appreciate my humor. Beside this list is fun ... and informative. Anyway, I can't figure this out. I am trying to verify inputs on a form and even if I have all the required fields right, I still get

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-07 Thread Sashikanth Gurram
The thing is, I do not have a website or a place where I am storing my images. I am storing the images on my local PC in folder as mentioned in my earlier post. I have tried using only the else { header('Content-Type: image/jpeg'); imagejpeg($img); imagedestroy($img); } Which you have

Re: [PHP] Retrieving Image Location in PHP from MySQL

2009-03-07 Thread Nathan Nobbe
On Sat, Mar 7, 2009 at 9:36 PM, Sashikanth Gurram sashi...@vt.edu wrote: The thing is, I do not have a website or a place where I am storing my images. I am storing the images on my local PC in folder as mentioned in my earlier post. I have tried using only the else { header('Content-Type:

[PHP] Audio stream piping minimal overhead

2009-03-07 Thread Richard Lynch
I'm interfacing PHP with an Asterisk server, and would like to pipe audio into PHP, through sox, and back out, in real-time, thus with *minimal* overhead in PHP. Any suggestions on what would be the best architecture? -- Some people ask for gifts here. I just want you to buy an Indie CD for

[PHP] Opendir on site root directory?

2009-03-07 Thread Clancy
I want to index the files on a website recursively. The program will run in the site root directory, which GETCWD reports as D:/Websites/Website_1. I can open any file in the root directory simply using its file name; Joe.dat, for example, and I can opendir for any subdirectory; eg

Re: [PHP] Audio stream piping minimal overhead

2009-03-07 Thread Nathan Nobbe
On Sat, Mar 7, 2009 at 10:35 PM, Richard Lynch c...@l-i-e.com wrote: I'm interfacing PHP with an Asterisk server, and would like to pipe audio into PHP, through sox, and back out, in real-time, thus with *minimal* overhead in PHP. Any suggestions on what would be the best architecture? not

Re: [PHP] if elseif elseif elseif....

2009-03-07 Thread Paul M Foster
On Sun, Mar 08, 2009 at 03:03:33PM +1100, Naz wrote: Generally, the approach I take is as follows: $errors = array(); if (empty($_POST['name'])) array_push($errors, 'A name was not entered.'); if (empty($_POST['address'])) array_push($errors, 'An address was no supplied.'); if

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Paul M Foster
On Sat, Mar 07, 2009 at 05:12:28PM -0500, Eric Butera wrote: On Sat, Mar 7, 2009 at 5:07 PM, Paul M Foster pa...@quillandmouse.com wrote: On Sat, Mar 07, 2009 at 12:34:40PM -0500, Eric Butera wrote: snip PDO.  :)  Anything else is a waste of cpu cycles. I've looked into PDO,

Re: [PHP] Database Abstraction Class

2009-03-07 Thread Lester Caine
( Sorry Eric - forgot to change the email address again :( ) Eric Butera wrote: On Sat, Mar 7, 2009 at 8:04 AM, Michael A. Peters mpet...@mac.com wrote: In some earlier thread (I really don't want to dig to find it) I argued for running mysql_real_escape_string right on the _POST I must