DC PHP Meetup 8/10/2016

A talk that I gave for DC PHP's August monthly meeting about Input Validation.

Working on Tiger Line Geographic ESRI Shape Files with PHP and MySQL

Using the TIGER line files from the US Census with PHP and MySQL

ZipArchive PHP Object

Have you ever heard of the ZipArchive PHP Class? The ZipArchive PHP class is an object oriented interface to compressed file archives using the zip library.

JavaScript Inheritance Example

Creating a JavaScript object utilizing inheritance

A simple method for JavaScript inheritance is describe below.  The referenced code is available at here at my github page.

There is more than one way to complete this programming pattern.  I use the following when writing my own JavaScript code.

Input Validation

In programming input validation is very important.  When user input is not validated malicious users can exploit security issues in computer applications.

My Experience with Debian Linux and Blu-Ray Disc

I decided to get the Alien Anthlogy on Blu-Ray disc without looking to see if my Linux machine running Debian Linux supported playing Blu-Ray discs.

When the Blu-Ray arrived I discovered that Blu-Ray was encrypted and Blu-Ray Plus movies where even more difficult to play.

HTTP Location Redirect Information with PHP’s Curl Extension for development

If you have to deal with HTTP Location headers or HTTP Cookies then being able to see full header output is important.

Code change for CVE-2014-3710


function header

private size_t donote(struct magic_set *, unsigned char *, size_t, size_t, int, int, size_t, int *);


— a/ext/fileinfo/libmagic/readelf.c

+++ b/ext/fileinfo/libmagic/readelf.c

@@ -372,6 +372,13 @@ donote(struct magic_set *ms, void *vbuf, size_t offset, size_t size, uint32_t namesz, descsz; unsigned char *nbuf = CAST(unsigned char *, vbuf);

+       if (xnh_sizeof + offset > size) {

+               /*

RFC2616 (HTTP Protocol) Division

Published in 1999 RFC2616, Hypertext Transfer Protocol – HTTP/1.1, has been obsoleted by RFC’S[7230-7237] in June of 2014.

The original RFC states:

HTTP has been in use by the World-Wide Web global information initiative since 1990. This specification defines the protocol referred to as “HTTP/1.1”, and is an update to RFC 2068 [33].

Subscribe to Quantum Foam RSS