cvs: php4 /pear DB.php

From: Date: Thu, 12 Jul 2001 11:14:12 +0000
Subject: cvs: php4 /pear DB.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-264@lists.php.net to get a copy of this message
cox Thu Jul 12 07:14:12 2001 EDT Modified files: /php4/pear DB.php Log: added DB_PARAM_MISC constant to use in prepare/execute Index: php4/pear/DB.php diff -u php4/pear/DB.php:1.68 php4/pear/DB.php:1.69 --- php4/pear/DB.php:1.68 Wed Jul 11 07:03:27 2001 +++ php4/pear/DB.php Thu Jul 12 07:14:12 2001 @@ -17,7 +17,7 @@ // | Tomas V.V.Cox <cox@idecnet.com> | // +----------------------------------------------------------------------+ // -// $Id: DB.php,v 1.68 2001/07/11 11:03:27 cox Exp $ +// $Id: DB.php,v 1.69 2001/07/12 11:14:12 cox Exp $ // // Database independent query interface. // @@ -76,11 +76,17 @@ * There is one extension though, a "&" character means an opaque * parameter. An opaque parameter is simply a file name, the real * data are in that file (useful for stuff like putting uploaded files - * into your database). + * into your database). The "!" char means a parameter that must be left + * as it is. + * They modify the quote behavoir: + * DB_PARAM_SCALAR (?) => 'original string quoted' + * DB_PARAM_OPAQUE (&) => 'string from file quoted' + * DB_PARAM_MISC (!) => original string */ define('DB_PARAM_SCALAR', 1); define('DB_PARAM_OPAQUE', 2); +define('DB_PARAM_MISC', 3); /* * These constants define different ways of returning binary data

« previous php.pear.cvs (#264) next »