WHAT IS PHP AND WHY SHOULD I CARE? ever (Web design programs)
WHAT IS PHP AND WHY SHOULD I CARE? ever needs updating, I need to change only one page. Even though the menu is always generated by the same page, a little bit of PHP magic automatically highlights the correct button for the current page. You ll learn how to move an existing navigation bar to an external file and implement automatic highlighting in Chapter 4. Because the site is subscription-only, users need to log in at the top right of the page to see the content, more than 14,000 articles in Japanese and English stored in a searchable database. When I log in, though, I get to see much more than anyone else: my security setting gives me administrator status, which enables me to insert new articles, edit existing ones, and register new users. You won t be building anything quite so ambitious in this book, but Chapters 9 through 15 teach you how to control access to your site with PHP sessions, as well as how to create a content management system with PHP and the MySQL relational database management system. Don t worry if you haven t worked with MySQL before; Chapter 10 shows you how to install it. Like PHP, it s open source and free for most users. Figure 1-3. PHP not only drives all the logic behind this online database, but also restricts access to subscribers. Other important uses for PHP in a website are sending email and uploading files, subjects covered in Chapters 5 and 6. By the time you finish this book, you ll wonder how you ever managed without PHP. So how difficult is it going to be?
If you are in need for cheap and reliable webhost to host your website, we recommend http web server services.