[PHP] Crash course

2012-08-20 Thread Lester Caine
OK - MySQL is not an area I've had to bother with, but I'm trying to sort out a tranche of websites that 11 messed up the DNS on last week and we have take over support for. All the databases have backed up and been restored ... although after Firebird's backup and restore system having to dump

Re: [PHP] Crash course

2012-08-20 Thread Simon Schick
Hi, Lester Just try to connect to your mysqlserver using a simple php script first. Example for MySqli: http://www.php.net/manual/en/mysqli.construct.php#example-1625 Example for MySql: http://www.php.net/manual/en/function.mysql-connect.php#refsect1-function.mysql-connect-examples If you

Re: [PHP] Crash course

2012-08-20 Thread Lester Caine
Simon Schick wrote: Just try to connect to your mysqlserver using a simple php script first. Actually my next step was to try phpMyAdmin ;) Having created a new user with the correct rights it just worked out of the box. I was simply trying to use 'root' just to get going, but it seems that

Re: [PHP] Crash course

2012-08-20 Thread Simon Schick
Hi, Lester I know how you feel ... I didn't want to disable E_STRICT either, but as most of those errors come from the Joomla-Core or some extensions, I don't have the nerves to fix code that's not mine and the developer just says aaa ... those E_STRICTs ... why do you even care Therefore I

Re: [PHP] Crash course

2012-08-20 Thread Lester Caine
Simon Schick wrote: Hi, Lester I know how you feel ... I didn't want to disable E_STRICT either, but as most of those errors come from the Joomla-Core or some extensions, I don't have the nerves to fix code that's not mine and the developer just says aaa ... those E_STRICTs ... why do you even

RE: [PHP] Crash course

2012-08-20 Thread admin
-Original Message- From: Lester Caine [mailto:les...@lsces.co.uk] Sent: Monday, August 20, 2012 6:52 AM To: php-general@lists.php.net Subject: [PHP] Crash course OK - MySQL is not an area I've had to bother with, but I'm trying to sort out a tranche of websites that 11 messed up the DNS

Re: [PHP] Crash course

2012-08-20 Thread Lester Caine
admin wrote: First of all, I HIGHLY doubt that 1and1 AKA Cisco messed up the DNS. I would be very careful blaming them and publically announcing it. We can publish the list of sites that were unavailable for 48 hours. It was the last straw for the customer as this was not the first occasion it

[PHP] Crash Course on PHP WORKS :: Registering Globals

2002-07-10 Thread vins
OK if you are running php on apache and your form variables don't pass through fire up your editor and edit php.ini and turn Register Globals ON Cheerz Until Next time. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Crash Course on PHP WORKS :: Registering Globals

2002-07-10 Thread Philip Olson
Please read: http://www.php.net/manual/en/language.variables.predefined.php Regards, Philip Olson On Wed, 10 Jul 2002, vins wrote: OK if you are running php on apache and your form variables don't pass through fire up your editor and edit php.ini and turn Register Globals ON