Re: [nyphp-talk] oci8 bind error

2009-07-01 Thread Daniel Convissor
Hey Eric: > To your point that this "oci_bind_by_name ($stmt, ":TESTNAME", "ERIC");" > should work - I do not get the oracle error when run this statment, I get a > PHP fatal error: Only variables can be passed by reference. This makes no > sense to me either. Binding allows input to and output f

Re: [nyphp-talk] [OT] Managed hosting on the east coast?

2009-07-01 Thread dan . horning
Give me a call and I'll give you a detail understanding. I've had and have many servers with them. 518-444-0213 x502 Call anytime. Dan --Original Message-- From: Mitch Pirtle Sender: talk-boun...@lists.nyphp.org To: NYPHP Talk ReplyTo: NYPHP Talk Subject: [nyphp-talk] [OT] Managed host

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

2009-07-01 Thread Konstantin Rozinov
If you're installing linux packages/apps into /usr/local, which is most common, it's highly recommended to use gnu stow to manage them. I create /usr/local/stow dirinstall all my linux packages there (apache, php, mysql, etc)...and then do a simple `stow -v package_dir/` from /usr/local/stow.

Re: [nyphp-talk] [OT] Managed hosting on the east coast?

2009-07-01 Thread Hans Zaunere
> Taking a long hard look at Peer 1, wondering what the rest of you > think about them as a managed hosting provider. I need a relatively > common infrastructure (firewall, loadbalancer, webservers, database > servers) need and am scrambling to find desirable suitors. > > Any advice from the NYPHP

Re: [nyphp-talk] oci8 bind error

2009-07-01 Thread Hans Zaunere
Hi, Hmm, strange - I've googled around and this is a pretty common error where the resolution is generally some subtle way the variables are defined and bound. I can't spot the problem, but play around with the query, perhaps some lowercase stuff, etc., and flags to the oci_bind_by_name() call.

Re: [nyphp-talk] [OT] Managed hosting on the east coast?

2009-07-01 Thread Ajai Khattri
On Wed, 1 Jul 2009, Mitch Pirtle wrote: > Taking a long hard look at Peer 1, wondering what the rest of you > think about them as a managed hosting provider. I need a relatively > common infrastructure (firewall, loadbalancer, webservers, database > servers) need and am scrambling to find desirabl

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

2009-07-01 Thread Ajai Khattri
On Wed, 1 Jul 2009, Eddie Drapkin wrote: > Every application that I run is a new user that doesn't have > permission to r/w out of its /home/ so that collaboration with people > on several projects means no one's snooping anyone else's sourcecode. > The apache user is in all of their groups, for o

[nyphp-talk] [OT] Managed hosting on the east coast?

2009-07-01 Thread Mitch Pirtle
Hey gang, Taking a long hard look at Peer 1, wondering what the rest of you think about them as a managed hosting provider. I need a relatively common infrastructure (firewall, loadbalancer, webservers, database servers) need and am scrambling to find desirable suitors. Any advice from the NYPHP

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

2009-07-01 Thread Eddie Drapkin
On Wed, Jul 1, 2009 at 12:01 PM, Michael Hernandez wrote: > On Wed, 2009-07-01 at 11:54 -0400, Ajai Khattri wrote: >> On Wed, 1 Jul 2009, Michael Hernandez wrote: >> >> > I worry that using /usr/local for stuff might >> > end up with an accidental delete or overwrite by the package manager. >> >> W

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

2009-07-01 Thread Ajai Khattri
On Wed, 1 Jul 2009, Michael Hernandez wrote: > I only say that because there is stuff in /usr/local on my ubuntu system > that I didn't put there (at least not manually) Yes, the FHS standard mandates that certain directories should exist there (they are mostly empty) which is why most distros c

Re: [nyphp-talk] Help Finding an HTML Email View in CakePHP Application

2009-07-01 Thread Randal Rust
On Wed, Jul 1, 2009 at 12:05 PM, Brian D. wrote: > It looks to me like it's pulling data from the 'Invoices.invoice' > column in the database, replacing string tokens, and using it as the > message body. Yeah, I figured that out about 5 minutes after I sent my message. Thanks though. This was dri

Re: [nyphp-talk] talk Digest, Vol 33, Issue 2

2009-07-01 Thread Nate Abele
On Jul 1, 2009, at 12:00 PM, talk-requ...@lists.nyphp.org wrote: Date: Wed, 1 Jul 2009 11:32:44 -0400 From: Randal Rust To: NYPHP Talk Subject: [nyphp-talk] Help Finding an HTML Email View in CakePHP Application Message-ID: Content-Type: text/plain; charset=ISO-8859-1 We have

Re: [nyphp-talk] Help Finding an HTML Email View in CakePHP Application

2009-07-01 Thread John Campbell
It looks like the html is in the database. The message is generated from $result['Invoice']['invoice']. My guess is the invoice is generated somewhere else and stored in database, as a permanent record. This email code is just retrieving the html from the database and sending it. On Wed, Jul 1,

Re: [nyphp-talk] Help Finding an HTML Email View in CakePHP Application

2009-07-01 Thread Brian D.
It looks to me like it's pulling data from the 'Invoices.invoice' column in the database, replacing string tokens, and using it as the message body. -Brian realm3 web applications [realm3.com] Information architecture, application development. phone: (917) 512-3594 fax: (440) 744-3559 On Wed,

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

2009-07-01 Thread Michael Hernandez
On Wed, 2009-07-01 at 11:54 -0400, Ajai Khattri wrote: > On Wed, 1 Jul 2009, Michael Hernandez wrote: > > > I worry that using /usr/local for stuff might > > end up with an accidental delete or overwrite by the package manager. > > Why? System packages never install into /usr/local. Traditionally

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

2009-07-01 Thread John Campbell
On Wed, Jul 1, 2009 at 10:48 AM, David Mintz wrote: > Perhaps this is one of those things that doesn't matter a helluva lot, but: > when you have a freshly installed Debian-style LAMP (actually Ubuntu server > 9.04) and you are looking for a place in the filesystem to install your PHP > application

Re: [nyphp-talk] oci8 bind error

2009-07-01 Thread Eric Gewirtz
Hi Hans, Thks for the reply. I have double checked and the table I am testing with (KB_TEST) has one field and it is VARCHAR(25). I believe the oci_parse() is working since I'm not "dieing" with an error message and the code gets to the oci_bind_by_name(). To your point that this "oci_bind_by_n

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

2009-07-01 Thread Ajai Khattri
On Wed, 1 Jul 2009, Michael Hernandez wrote: > I worry that using /usr/local for stuff might > end up with an accidental delete or overwrite by the package manager. Why? System packages never install into /usr/local. Traditionally, /usr/local has always been for "local" stuff. When I build stuff

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

2009-07-01 Thread Anthony Wlodarski
I myself have used the "/var/www/www.domainname.com" method myself. Another scheme I find worthwhile is to do "/var/www/apps/applciation_name" so I don't need clog the doc root with URL's depending on the client. -Anthony On Wed, Jul 1, 2009 at 11:04 AM, Hans Zaunere wrote: > > Perhaps this is

[nyphp-talk] Help Finding an HTML Email View in CakePHP Application

2009-07-01 Thread Randal Rust
We have inherited a CakePHP application that sends a formatted HTML email when someone completes the site's registration process. The method that invokes the email is: $this->Invoice->send($districtInfo['District']['invoiceEmail'], 'PO Order', $insert_data) The problem I'm having is that I cannot

Re: [nyphp-talk] oci8 bind error

2009-07-01 Thread Hans Zaunere
Hello, > Warning: oci_bind_by_name(): ORA-01036: illegal variable name/number in > /appl/wideacc/CustMast/in/OCIpreptest.php on line 23 > Below is the test code I'm running; > > > //Connect to the Database > $dbUser = 'c1'; > $dbPSWD = p1'; > $db = 'db1'; > $con = oci_connect($dbUser, $dbPSW

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

2009-07-01 Thread Hans Zaunere
> Perhaps this is one of those things that doesn't matter a helluva lot, > but: when you have a freshly installed Debian-style LAMP (actually > Ubuntu server 9.04) and you are looking for a place in the filesystem > to install your PHP application files -- where do you like to put them? > /usr/loc

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

2009-07-01 Thread Michael Hernandez
On Wed, 2009-07-01 at 10:48 -0400, David Mintz wrote: > Perhaps this is one of those things that doesn't matter a helluva lot, > but: when you have a freshly installed Debian-style LAMP (actually > Ubuntu server 9.04) and you are looking for a place in the filesystem > to install your PHP applicat

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

2009-07-01 Thread Eddie Drapkin
On Wed, Jul 1, 2009 at 10:48 AM, David Mintz wrote: > Perhaps this is one of those things that doesn't matter a helluva lot, but: > when you have a freshly installed Debian-style LAMP (actually Ubuntu server > 9.04) and you are looking for a place in the filesystem to install your PHP > application

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

2009-07-01 Thread David Mintz
Perhaps this is one of those things that doesn't matter a helluva lot, but: when you have a freshly installed Debian-style LAMP (actually Ubuntu server 9.04) and you are looking for a place in the filesystem to install your PHP application files -- where do you like to put them? /usr/local/share/..