Passing Info In Your URL’s Querystring

There are a few ways to pass data between web pages: Global variables like $_SESSION or using cookies. Form inputs using the $_POST global variable Or via the querystring. What is the querystring? Here’s the standard definition from Wikipedia: A query string is a part of a uniform resource locator (URL) that assigns values to…

Read More

Storing Your Passwords Safely!

Obviously you need to keep your website secure and what is one of the key ways of gaining access?  Hacking in with an easy to guess password.  It is very important to keep your passwords safe especially when you need to use them in code such as opening a SQL database. Hashing is the accepted…

Read More

Reusing Code

One of the primary purposes of using functions is to allow code to be reused.  How do you do this in PHP?  By placing code that will be reused in separate file or library and then using either the include() or require() function to place it in your code. What is the difference between the…

Read More

Parsing Data into Database

Okay – this is critical.  We need at least a sample in so that we can work on the algorithm.  This needs to get done…now.  Basically all you need to do is look at how we did it back in Lesson 8: Updating, Inserting and Deleting Data with PHP Lesson 8: Updating, Inserting and Deleting…

Read More