Tuesday, March 16th, 2010

“Build Your Own Database Driven Web Site”

This book introduces you to both PHP and mySQL and how to use them together to create dynamically generated web pages using relatively modern methods.
“Build Your Own Database Driven Web Site”

Sunday, February 14th, 2010

Dynamic Copyright Watermark

About the only effective way of protecting your images on the web is to watermark the images themselves. Any other form of “protection” is useless because the images are downloaded to your visitors’ computers in order for their browser to be able to display the web page and that image file can therefore be easily [...]

Wednesday, January 13th, 2010

Password Protected Area FAQ

While my Password Protected Area script provides the basic code to create your own membership area on your site, it still requires some knowledge of PHP in order to be able to configure your actual pages if you want to do anything more than just provide basically static pages that are only accessible once your [...]

Tuesday, December 29th, 2009

Useful PHP Scripts

One relatively small section of the “Ask Felgall” web site is the section where I have PHP scripts for sale (everything else on the site is “free”).
These PHP scripts will greatly enhance the functionality of any web site that supports PHP (and for a couple of them – mySQL) in return for a very small [...]

Tuesday, November 24th, 2009

Exporting Web Data to Spreadsheets

Exporting data collected on your web site into a spreadsheet program is not quite as straightforward as it ought to be. Spreadsheets all use proprietary formats and outputting your data directly in that format is therefore extremely complicated. A simpler approach is to use a format that can be easily read by a spreadsheet program.
Exporting [...]

Sunday, October 4th, 2009

Protecting PHP Includes

Often what you place inside a PHP include file is intended to be a part of the content to display in a web page and you do not want people running the file separately in order to view that page fragment by itself. Admittedly it can be unlikely for people to guess where the include [...]

Monday, September 28th, 2009

Learning PHP, MySQL,& JavaScript

Here is a book that covers PHP, mySQL, and JavaScript. There are beginner and advanced chapters on each of the languages along with some chapters on using them together. Trying to cover so much in one book of course means that the information is somewhat abbreviated throughout.
Learning PHP, MySQL,& JavaScript

Monday, September 21st, 2009

Anatomy of a Web Page

There is more to a web page than a doctype and what is contained inside the HTML element. In some ways the most important part of the web page is what comes before the doctype in the form of instructions to the browser as to just what to do with this file. Here we look [...]

Friday, August 21st, 2009

Form Validations

There are a number of fields that commonly appear in forms. As with all the fields in your form they need to be validated on the server once the form has been submitted. Let’s take a look at how to use PHP to validate some of the comm on fields on your forms.
Form Validations

Thursday, August 20th, 2009

Displaying PDFs using PHP

So you have your site set up with PHP code controlling access to the various HTML pages and then you realise that you have some PDF files that you want to control access to similarly. Forunately there is an easy way to do so by using PHP to read and output the PDF after performing [...]

Monday, August 17th, 2009

Password Protected Area Toolkit

With PHP 5 now well established as the version everyone should be using I decided it is time to stop worrying about whether my scripts will work in PHP 4 (I can always provide copies of the old version to anyone desparate for it).
The first of my scripts to have the database access converted to [...]

Friday, August 7th, 2009

Form Actions

A form by itself can’t do much. You need server side processing of some sort to actually do something with what your visitors enter into your form.
Form Actions