Re: Is there PHP mysql_real_escape_string for postgresql?

From: Erik Jones <erik(at)myemma(dot)com>
To: Bill Moran <wmoran(at)potentialtech(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Is there PHP mysql_real_escape_string for postgresql?
Date: 2007-12-20 15:59:54
Message-ID: 59017E3C-E430-4132-8030-A56B0E5F6423@myemma.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Dec 20, 2007, at 9:46 AM, Bill Moran wrote:

> In response to Erik Jones <erik(at)myemma(dot)com>:
>
>>
>> On Dec 17, 2007, at 8:37 PM, dterrors(at)hotmail(dot)com wrote:
>>
>>> In php is there a postgresql version of mysql_real_escape_string() ?
>>
>> You have both pg_escape_string and pg_escape_bytea available.
>
> Is there a mysql_fake_escape_string()? Should PostgreSQL have a
> pg_pretend_to_escape_string() that effectively does nothing?

Good one :-)

Erik Jones

Software Developer | Emma®
erik(at)myemma(dot)com
800.595.4401 or 615.292.5888
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2007-12-20 16:03:16 Re: Is there PHP mysql_real_escape_string for postgresql?
Previous Message Colin Wetherbee 2007-12-20 15:57:46 Re: SuSE gcc segfault compiling pgsql