[PHP] Do You Need addslashes() When Using Bind Variables

2004-11-09 Thread Francis Chang
Hi, I'm using the Oracle database though I think this question is generic to all databases. If you're using bind variables and preparing the SQL statements ahead of time, do you still need to call addslashes() before binding the strings to the bind variables? Thanks in advance. Francis --

[PHP] Help Me Understand PHP5, register_globals=off, $HTTP_POST_VARS, and $_POST

2004-10-13 Thread Francis Chang
Hello, I've done some homework on my own by reading through PHP documentation and various articles; however, I am still a bit confused as to what is supported in PHP 5.0 when register_globals is set to off. In PHP5.0, if the register_globals parameter is set to off (as it is by default), I kno

[PHP] Newbie: Validate Required Form Fields

2004-09-02 Thread Francis Chang
Hello All, I have a newbie question related to validating required Form fields. Suppose we have a two-step user registration process with scripts register1.php and register2.php, each page containing a set of required and non-required fields. In register1.php, when user submits the form, it call

[PHP] Re: Installing Php5 over Existing Php4.3.6

2004-07-23 Thread Francis Chang
arnett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Francis Chang wrote: > > > Hi, > > > > I would like to install Php5 over an existing Php4.3.6 installation on > > Linux. What is the proper procedure? Do I need to "uninstall" t

[PHP] Installing Php5 over Existing Php4.3.6

2004-07-23 Thread Francis Chang
Hi, I would like to install Php5 over an existing Php4.3.6 installation on Linux. What is the proper procedure? Do I need to "uninstall" the previous version first, if so, how? Can I install Php5 into the same location as the previous installation or should I install it into a different PREFIX