Archive for the ‘php’ Category

The book I read to research this post was PHP & MySQL Web Development for Dummies All in One by Janet Valade et al which is an excellent book which I bought from kindle. 60% of all sites are powered by apache, php & mysql, 30% use windows internet information server which does the same job as apache. Apache is apparently more reliable & is open source but both are free. WII Server is supplied with windows but is not installed by default. When people use PHP & MySQL they download it as a package which includes Apache & phpMyAdmin. PHPMyAdmin enables PHP & MySQL to work together. The main packages are

WAMPP which works with windows.

MAMPP which works with macintosh.

XAMPP which primarily works with linux but there are versions for macintosh & windows.

Linux & Macintosh usually comes with apache installed so you won’t need to install it unless you need to update it to a later version.

The book recommends using PHP 5 because 6 was in beta but that has probably changed by now. PHP 5 has lots of features that weren’t available for PHP 4. Apparently a lot of web hosts don’t support PHP 5 or charge extra but the upgrade is worth it.

MySQL is an open source database & would be used with a website for things like a customer database or a product catalogue.

 

 

PHP 4

Posted: December 25, 2011 in databases, internet, php, web design

The book I read to research this post was Teach Yourself PHP 4 in 24 Hours by Matt Zandstra which is a very good book which I bought from amazon. PHP started out as a language which connected databases to websites but now has evolved into a full web language. It tends to be used in conjunction with apache server & mysql although will work with most operating systems & databases. PHP, apache & mysql are all open source which basically means they are free. You can write PHP with a simple text editor like notepad which is included with windows. PHP is always enclosed in HTML brackets. One of the things it works with is boolean logic & with that some of the notation may seem a bit strange to the untrained eye ie equals is depicted by 2 equals signs.