Re: [nyphp-talk] oci8 bind error

2009-07-02 Thread Daniel Convissor
Hi Eric: > I found my bug (actually my partner found it)- embarrassed to admit it but > here it is - the sql to parse is being stored in a var called $insSQL and > the oci_parse is using $insSql (note the QL vs ql) Ugh! :) That should have generated a notice saying $insSql is being used before

Re: [nyphp-talk] oci8 bind error

2009-07-02 Thread Eric Gewirtz
Hi Dan, I found my bug (actually my partner found it)- embarrassed to admit it but here it is - the sql to parse is being stored in a var called $insSQL and the oci_parse is using $insSql (note the QL vs ql) I knew it was something dumb :-(. Interesting that the oci_parse() does not throw an error

Re: [nyphp-talk] oci8 bind error

2009-07-02 Thread Daniel Convissor
Hi Eric: On Thu, Jul 02, 2009 at 01:32:22PM -0400, Eric Gewirtz wrote: > > Thanks I truly appreciate your help - With some minor tweaks this code does > work so at least I know it is not our version of php on the SUN box. Good. Sorry it had some bugs. I hate sending out code without testing i

Re: [nyphp-talk] oci8 bind error

2009-07-02 Thread Eric Gewirtz
Hi Daniel, Thanks I truly appreciate your help - With some minor tweaks this code does work so at least I know it is not our version of php on the SUN box. I'm not yet sure why the bind works here and not in my sample because I also passed in variables to the bind and I'm in the process of trying

Re: [nyphp-talk] where in filesystem to install php application

2009-07-02 Thread David Mintz
This has been quite enlightening, thanks. I ended up deciding on opt/www for web apps, and /usr/share/php will house the system-wide libs like Zend Framework. Yes it could be /usr/local/whatever but... wtf. -- David Mintz http://davidmintz.org/ The subtle source is clear and bright The tribu