Thursday, January 18, 2018

Why will need PHP

Why will need PHP 

The most important requirement for working with PHP—because it’s a server-side scripting language—is access to a PHP-enabled server. Considering PHP’s popularity, your web host most likely has this option available to you on their servers. You’ll need to contact them to see what technology they support.

  Your other option is to install PHP and a web server application (like Apache) on your own computer. Users of Windows, Mac OS X, or Linux can easily install and use PHP for no cost. Directions for installing PHP are available in Appendix A, “Installation and Configuration.”If you’re up to the task of using your own PHP-installed server, you can take some consolation in knowing that PHP is available for free from the PHP website

( and comes in easy-to-install packages. If you take this approach, and I recommend that you do, then your computer will act as both the client and the server.

The second requirement is almost a given: You must have a text editor on your computer - Atom, Notepad + +, UltraEdit, and similar freeware applications are all sufficient for your purposes, and TextMate, SublimeText, and other commercial applications offer more features that you may appreciate. If you’re accustomed to using a graphical interface (also referred to as WYSIWYG—What You See Is What You Get) such as Adobe Dreamweaver or Aptana Studio, you can consult that application’s manual to see how to program within it.

The popular Dreamweaver application supports PHP development, among other server-side technologies. 

Third, you need a method of getting the scripts you write to the server. If you’ve installed PHP on your own computer, you can save the scripts to the appropriate directory. However, if you’re using a remote server with a web host, you’ll need an SFTP (Secure File Transfer Protocol) program to send the script to the server. There are plenty of SFTP applications available; for example, in  “Getting Started with PHP,”I use the free FileZilla (http:// )

The FileZilla application can be used on many different operating systems to move PHP scripts and other files to a remote server.

Finally, if you want to follow the examples in  “Intro to Databases,”you need access to MySQL ( ). MySQL is available in a free version that you can install on your own computer.

MySQL’s website (as of this showing).

This blog assumes only a basic knowledge of HTML, although the more comfortable you are handling raw HTML code without the aid of a WYSIWYG application such as Dreamweaver, the easier the transition to using PHP will be. Every programmer will eventually turn to an HTML reference at some time or other, regardless of how much you know, so I encourage you to keep a good HTML blog by your side. One such introduction to HTML is Elizabeth Castro and Bruce Hyslop’s HTML, XHTML, and CSS: Visual QuickStart Guide (Peachpit Press, 2014). Previous programming experience is certainly not required. Read More


Please comment and follow this site blog inbox