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
On November 28, 2012 at 4:11 PM Jim Giner jim.gi...@albanyhandball.com 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
On November 28, 2012 at 4:11 PM Jim Giner jim.gi...@albanyhandball.com
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
I am having a PDO mysql connection issue I cant explain.
On server server1.mydomain.com
I have a test script
?php
$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 they are 2 different
servers.
This script
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'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:
?php
$link = mysql_connect(192.168.2.4, root, )
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() // constructor
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 how
much
data you can send via the
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 download
11 matches
Mail list logo