↓ Skip to Main Content
Programming and Books
Programming and Books

Main Navigation

  • Home
  • eBooks
    • eBook: PHP Tutorials
    • eBook: jQuery
    • eBook: HTML Beginners
  • Contacts
  • eBooks Download Code
  • eBook Code Samples
    • PHP Tutorials: Code Samples
    • Code Samples for jQuery Book
  • Applications
  • Blogs
    • General PHP
    • Your Books
Programming and Books
Programming and Books

Off Canvas Menu

  • Home
  • eBooks
    • eBook: PHP Tutorials
    • eBook: jQuery
    • eBook: HTML Beginners
  • Contacts
  • eBooks Download Code
  • eBook Code Samples
    • PHP Tutorials: Code Samples
    • Code Samples for jQuery Book
  • Applications
  • Blogs
    • General PHP
    • Your Books

Category: Blogs

All Blog posts

Simple way to center a block using divs

By euop Posted on August 17, 2015 Posted in Blogs

<div style=”text-align: center;”> <div style=”text-align: left; margin: 1em auto; width: 50%;”>   Enter your content here   </div> </div>  

Differences between PHP4 and PHP5

By euop Posted on August 1, 2015 Posted in Blogs, General PHP

This listing of the differences between PHP4 and PHP 5 is is probably something that is quite common, but it is always worth a review. PHP5 is a lot different than PHP4 with the main differences being in how it …

Differences between PHP4 and PHP5 Read more »

Regular Expressions Part 4 – Array Processing

By euop Posted on July 16, 2015 Posted in Blogs, General PHP

PHP’s preg_split() function enables you to break a string apart basing on something more complicated than a literal sequence of characters. When it’s necessary to split a string with a dynamic expression rather than a fixed one, this function comes …

Regular Expressions Part 4 – Array Processing Read more »

Regular Expressions Part 3 – Replacing Patterns

By euop Posted on July 16, 2015 Posted in Blogs, General PHP

Replacing Patterns In the examples in Part 2, we have searched for patterns in a string, leaving the search string untouched. The preg_replace() function looks for substrings that match a pattern and then replaces them with new text. preg_replace() takes …

Regular Expressions Part 3 – Replacing Patterns Read more »

Regular Expressions Part 2 – Matching Patterns

By euop Posted on July 16, 2015 Posted in Blogs, General PHP

Matching Patterns The preg_match() function performs Perl-style pattern matching on a string. preg_match() takes two basic and three optional parameters. These parameters are, in order, a regular expression string, a source string, an array variable which stores matches, a flag …

Regular Expressions Part 2 – Matching Patterns Read more »

Regular Expressions Part 1 – Introduction

By euop Posted on July 16, 2015 Posted in Blogs, General PHP

In programming you quite often want to test a string for the occurrence of a character or group of characters. This is particularly true for such things as data validation on form input boxes. Regular expressions provide a pattern matching …

Regular Expressions Part 1 – Introduction Read more »

Use regular expressions to validate PHP inputs

By euop Posted on July 16, 2015 Posted in Blogs, General PHP

To help counter SQL injections you need to make sure that entered values use minimum character types as possible. So you restrict usernames to just a-z and 0-9 characters. To test for these, use something like : //—————————————————— /** * …

Use regular expressions to validate PHP inputs Read more »

Updated version of ‘PHP Tutorials: Programming with MySQL and PHP’

By euop Posted on June 7, 2015 Posted in Blogs, Your Books

The paperback version of ‘PHP Tutorials: Programming with MySQL and PHP’ has been updated to include more code examples and published and is available from the Amazon book store. Do a search for the ISBN number 0992869730 or the above …

Updated version of ‘PHP Tutorials: Programming with MySQL and PHP’ Read more »

Amazon Product Advertising API and Sales Rank

By euop Posted on June 6, 2015 Posted in Blogs, Your Books

A Visual Studio C# application The Amazon Product Advertising API allows you to connect to Amazon, then search and lookup product information such as price details, descriptions and so on.  In conjunction with an Amazon Affiliate ID you can make …

Amazon Product Advertising API and Sales Rank Read more »

Formatting for Kindle eBooks – Hints, Tips and Tricks

By euop Posted on June 2, 2015 Posted in Blogs, Your Books

There are a number of articles on formatting an e-book for Kindle so I thought I would contribute my thoughts and ideas so far. The most common way to create a Kindle e-book is to use Microsoft Word because it …

Formatting for Kindle eBooks – Hints, Tips and Tricks Read more »

Posts pagination

Previous 1 2 3 4 Next

Footer Menu

  • About Us
  • eBooks Download Source Code
  • Applications
  • Blogs

Footer Menu

  • About Us
  • eBooks Download Source Code
  • Applications
  • Blogs
Copyright © 2026 Paul Gibbs | Powered by Responsive Theme
Copyright © 2026 Paul Gibbs | Powered by Responsive Theme
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-advertisement1 yearThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Advertisement".
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
CookieDurationDescription
_ga2 yearsThis cookie is installed by Google Analytics. The cookie is used to calculate visitor, session, campaign data and keep track of site usage for the site's analytics report. The cookies store information anonymously and assign a randomly generated number to identify unique visitors.
_ga_6CGSLHX9YS2 yearsNo description
SAVE & ACCEPT
Powered by CookieYes Logo