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
> 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.
> >
>
>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.
> >
> &g
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
Ash,
Nice call. .htaccess was not being processed at all which led me to a
cname configuration error for the sub domain.
Thanks!.
On 4/5/2010 8:27 PM, Ashley Sheridan wrote:
On Mon, 2010-04-05 at 19:40 -0400, ad wrote:
I have several virtual hosts on a dedicated server.
In a IFmodule
I have several virtual hosts on a dedicated server.
In a IFmodule mod_php5c container in an httpd.conf include file I have
the following to create a unique include path for each virtual host:
IfModule mod_php5.c>
php_value include_path ".:/home/virtual/site#/path/to/include"
php_admin_flag saf
I'm getting this error while testing the script below just for connectivity.
Mysql is running on XP and apache and php are on openbsd. It seems like I
don't have something configured right in php I guess but I'm not sure. Here
is the script:
\n";
while ($line = mysql_fetch_array($result))
Sorry, it was Tim that suggested that what I required wasn't really OO. My
apologies Tim, and thanks for your emails.
adam
Adam Beecher - CEO & Core Geek - ieWebs™
e ... [EMAIL PROTECTED]
w ... http://www.iewebs.com
m ... Box 81, Eglinton St,
Hi Tim,
> If you want access to error functions within the db class it must either
> extend the error class or have an error object within it. Either ...
>
I'll go for the latter, because extends isn't appropriate in this case:
> Class DB
> { var $error;
> ...
> function DB() // constr
Not coming from a programming background, I'm going to have difficulty
explaining this one... :)
I would like to handle an entire application through one object, which in
turn contains objects. I only recently "got" classes though, and I don't
fully understand if what I want to do is possible, or
Why not just post to the same script, then you don't have to worry about
this?
Hth,
-AD
"Chip Landwehr" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I can't do that because the form is to big and there is a limit to
If you really need to, it would need to be done client side, e.g.
JavaScript.
But reconsider it, okay? please :)
-AD
"Chip Landwehr" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> lol!
>
> True, so true...
>
>
Hi,
I'm working on a download script
header("Content-Type: application/octet-stream\n");
header("Content-Length: $size\n");
header("Content-Disposition: attachment; filename=\"$file\"\n");
header("Content-Description: Download\n");
readfile($path.$file);
This works, but when the initial file do
13 matches
Mail list logo