Jump to content

jsburgoyne

New Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by jsburgoyne

  1. Hello, Can any one help, I am trying to move from PHP 4 to PHP 5, and this is an error message I encounter. OneandOne are dropping support foir PHP4 after april this year, I had given up supprting this application, but seems I need to move it forward. This happens after I change the PHP Version variable at my PHP server on OneandOne from 4 to 5. Error Message: Warning msql_connect(): Connecting to 3.33.3.23 & 4.0 is not supported. Server is 4.0.27-max-log in /homepages .......................... This is the code which is being referenced. //open database $db_host = "db318.oneandone.co.uk"; $db_username = "dboxxxxxxxxx"; $db_password = "password"; $DB_name = "dbxxxxxxxxx"; $chan = mysql_connect ($db_host, $db_username, $db_password) or die("Unable to connect to $DB_name"); mysql_select_db($DB_name, $chan); Is there anything I should be changing? thank you John
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.