Re: [PHP] PDO question

2012-11-28 Thread Fatih P.
On Wed, Nov 28, 2012 at 9:22 PM, Jim Lucas wrote: > On 11/28/2012 12:58 PM, ad...@buskirkgraphics.com wrote: > >> >> Guys, >> I am not quiet sure what is happening but every time i try to connect to a >> remote host it refers back to localhost. >> >> $pdo = new PDO('mysql:host=171.16.23.44;**dbna

Re: [PHP] seg fault with pecl ps extension

2012-11-28 Thread Adam Richardson
On Thu, Nov 29, 2012 at 12:18 AM, Ray wrote: > ...I first had to deal with a > change in the way call by reference worked in php. (I had to delete the '&' > from some function calls.) Did that correspond to the 5.3 -> 5.4 upgrade? > Yep, 5.4 removed call-time pass-by-reference: http://www.php.ne

Re: [PHP] seg fault with pecl ps extension

2012-11-28 Thread Ray
On November 29, 2012 12:00:44 AM Adam Richardson wrote: > On Wed, Nov 28, 2012 at 10:50 PM, Ray wrote: > > Hello, > > I'm not positive if this is the right list, or if other info is required. > > If this is the wrong list, please recomend a better one. If other info is > > desired, just ask. > >

Re: [PHP] seg fault with pecl ps extension

2012-11-28 Thread Adam Richardson
On Wed, Nov 28, 2012 at 10:50 PM, Ray wrote: > Hello, > I'm not positive if this is the right list, or if other info is required. > If this is the wrong list, please recomend a better one. If other info is > desired, just ask. > > I am having some problems with the PECL PS (postscript) extension.

[PHP] seg fault with pecl ps extension

2012-11-28 Thread Ray
Hello, I'm not positive if this is the right list, or if other info is required. If this is the wrong list, please recomend a better one. If other info is desired, just ask. I am having some problems with the PECL PS (postscript) extension. For some commands, everything works properly, but when

Re: [PHP] PDO question

2012-11-28 Thread Jim Lucas
On 11/28/2012 12:58 PM, ad...@buskirkgraphics.com wrote: Guys, I am not quiet sure what is happening but every time i try to connect to a remote host it refers back to localhost. $pdo = new PDO('mysql:host=171.16.23.44;dbname=test', 'user','password'); ERROR: Access denied for user 'user'@'loc

[PHP] Re: PDO mysql Connection issue

2012-11-28 Thread David Robley
"ad...@buskirkgraphics.com" wrote: > I am having a PDO mysql connection issue I cant explain. > > On server server1.mydomain.com > I have a test script > $pdo = new PDO('mysql:host=171.16.23.44;dbname=test', 'user','password'); > ?> > 171.16.23.44 is by an A record called server2.mydoamin.com t

Re: [PHP] PDO mysql Connection issue

2012-11-28 Thread Admin
> On Wednesday, November 28, 2012 at 4:50 PM, ad...@buskirkgraphics.com wrote: >> I am having a PDO mysql connection issue I cant explain. >> >> On server server1.mydomain.com (http://server1.mydomain.com) >> I have a test script >> > $pdo = new PDO('mysql:host=171.16.23.44;dbname=test', 'user','

Re: [PHP] PDO mysql Connection issue

2012-11-28 Thread Mike Mackintosh
On Wednesday, November 28, 2012 at 4:50 PM, ad...@buskirkgraphics.com wrote: > I am having a PDO mysql connection issue I cant explain. > > On server server1.mydomain.com (http://server1.mydomain.com) > I have a test script > $pdo = new PDO('mysql:host=171.16.23.44;dbname=test', 'user','password'

[PHP] PDO mysql Connection issue

2012-11-28 Thread ad...@buskirkgraphics.com
I am having a PDO mysql connection issue I cant explain. On server server1.mydomain.com I have a test script 171.16.23.44 is by an A record called server2.mydoamin.com they are 2 different servers. This script returns an error: ERROR: Access denied for user 'user'@'server1.mydomain.com' (using p

Re: [PHP] Re: PDO question

2012-11-28 Thread Jim Giner
On 11/28/2012 4:22 PM, ad...@buskirkgraphics.com wrote: On November 28, 2012 at 4:11 PM Jim Giner wrote: On 11/28/2012 3:58 PM, ad...@buskirkgraphics.com wrote: Guys, I am not quiet sure what is happening but every time i try to connect to a remote host it refers back to localhost. $pdo = n

Re: [PHP] Re: PDO question

2012-11-28 Thread ad...@buskirkgraphics.com
> On November 28, 2012 at 4:11 PM Jim Giner > wrote: > On 11/28/2012 3:58 PM, ad...@buskirkgraphics.com wrote: > > > > Guys, > > I am not quiet sure what is happening but every time i try to connect to a > > remote host it refers back to localhost. > > > > $pdo = new PDO('mysql:host=171.16.23.44;

Re: [PHP] Re: PDO question

2012-11-28 Thread Jim Giner
On 11/28/2012 4:18 PM, ad...@buskirkgraphics.com wrote: On November 28, 2012 at 4:11 PM Jim Giner wrote: On 11/28/2012 3:58 PM, ad...@buskirkgraphics.com wrote: Guys, I am not quiet sure what is happening but every time i try to connect to a remote host it refers back to localhost. $pdo = n

Re: [PHP] Re: PDO question

2012-11-28 Thread ad...@buskirkgraphics.com
>On November 28, 2012 at 4:11 PM Jim Giner wrote: > On 11/28/2012 3:58 PM, ad...@buskirkgraphics.com wrote: > > > > Guys, > > I am not quiet sure what is happening but every time i try to connect to a > > remote host it refers back to localhost. > > > > $pdo = new PDO('mysql:host=171.16.23.44;dbn

[PHP] Re: PDO question

2012-11-28 Thread Jim Giner
On 11/28/2012 3:58 PM, ad...@buskirkgraphics.com wrote: Guys, I am not quiet sure what is happening but every time i try to connect to a remote host it refers back to localhost. $pdo = new PDO('mysql:host=171.16.23.44;dbname=test', 'user','password'); ERROR: Access denied for user 'user'@'loca

[PHP] PDO question

2012-11-28 Thread ad...@buskirkgraphics.com
Guys, I am not quiet sure what is happening but every time i try to connect to a remote host it refers back to localhost. $pdo = new PDO('mysql:host=171.16.23.44;dbname=test', 'user','password'); ERROR: Access denied for user 'user'@'localhost' (using password: YES) in /var/www/html/text.php An