Re: PHP code to unescape data retrieved from a bytea column - Mailing list pgsql-general

From Alexey V. Borzov
Subject Re: PHP code to unescape data retrieved from a bytea column
Date
Msg-id 1688164379.20011024234448@rdw.ru
Whole thread Raw
In response to PHP code to unescape data retrieved from a bytea column  (huongch@bigfoot.com (Flancer))
List pgsql-general
Hello Flancer,

Wednesday, October 24, 2001, 1:18:30 PM, you wrote:

F> If anyone out there can improve this code or already has a better
F> code.. please let me know ;).
   Well, I have better code. Sorta. ;]
   http://www.php.net/manual/en/function.stripcslashes.php

   Of course, you'd have to pass the value thru stripslashes() first
   if you have "black magic quotes" enabled.

--
Yours, Alexey V. Borzov, webmaster of RDW.ru


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Can not input large text data
Next
From: David Ford
Date:
Subject: CVS server stumbling?