Gary wrote:

> Ok, I know how to access the php.ini for the local host, is this the
> same file that would control the remote server?  Or do I need to look
> for it on my remote host?

The php.ini you need to look at is the one one the server where you're
running your PHP code.  The remote host is just your database server I
assume?

Your code does look a little odd though:

$dbc = mysqli_connect('$hostname','$username','$password')
or die('Error connecting to MySQL server');
mysql_select_db('$usertable');

I would have written this as:

$dbc = mysqli_connect($hostname,$username,$password,$usertable)
or die('Error connecting to MySQL server');


/Per


-- 
Per Jessen, Zürich (10.7°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to