Beginning PHP5, Apache, MySQL web development by Michael Glass; et al

By Michael Glass; et al

Show description

Read or Download Beginning PHP5, Apache, MySQL web development PDF

Best programming: programming languages books

Dissecting a C# Application: Inside SharpDevelop

Research complex . internet programming thoughts via getting an insiders' examine an entire program! SharpDevelop is a whole built-in improvement setting, written in C#. It comprises the entire complex gains that programmers anticipate from a contemporary IDE and, after all, enforcing those positive factors has required a few complicated programming innovations.

Extra resources for Beginning PHP5, Apache, MySQL web development

Example text

Dll” Make sure your path matches the location of this file, as determined during your installation. Document Root By default, the directory under which Apache looks for files is c:\program files\Apache Group\ Apache2\htdocs\. You can change this to whatever is applicable for your directory structure, but for the purposes of this discussion, create a directory named c:\program files\Apache Group\ Apache2\test\ where you can put files to test them. After you have created the directory, you must point Apache to the new directory.

Error_log Points to the name of your PHP error log file. variables_order Determines the order in which variables are registered. The default is EGPCS, which translates into Environment, GET, POST, COOKIE, and Built-in variables. We recommend that you leave this as the default setting until you are more familiar with PHP and the way variables work. In addition, your third-party host will most likely keep the default setting. This setting applies to all variables on all PHP pages, which we discuss in greater detail in Chapter 2.

Although many third-party Web hosts have turned on register_globals, for security reasons not everyone does; we decided to assume that register_globals is off for the purposes of the exercises in this book. Coding with the assumption that register_globals has been turned off is the safest way to code because your program will work regardless of the server’s setting. Instead of calling variable values by the standard $varname syntax, when register_globals is “off” and you need to pass variables across pages, you need to refer to them in a different way, but only in the receiving page.

Download PDF sample

Rated 4.07 of 5 – based on 48 votes