Tag archive

#PHP

43 posts
Development · 2 min

Website theme update

Why I rebuilt blog.abluestar.com on a fresh Jekyll theme, plus a 20-year history of my CMS choices from plain HTML to static sites.

#Jekyll#Markdown#Photo#Code#Web#PHP
Read post
Year of Making · 1 min

Day 1 - Fractal Triangle

A laser-cut fractal triangle of 96 small, 36 medium, and 9 large triangles in 3mm birch ply, assembled with 250+ zap straps.

#Code#Web#PHP#Wood#Laser Cut
Read post
Projects · 1 min

The Giant Claw Game! - Relay H-Bridge and Circuit Design

Building a relay H-bridge for the Giant Claw gantry motors after the L298 driver could not handle the current.

#Arduino#Motor#Code#Web#PHP#Robots
Read post
Self · 1 min

2013 Goals and Resolutions

Goals for 2013: weekly blog posts, 300 geocaches, learn Rails, build a card game, and add more home sensors.

#PHP#Vancouver#Journal
Read post
Development · 1 min

NiceDog nano php web framework

Trying out NiceDog, a single-file PHP nano framework, fixing a few bugs and writing the missing example project.

#Code#PHP#Web
Read post
Development · 1 min

Wordpress Post via email (wp-mail.php)

Switching from the abandoned Postie plugin to WordPress built-in wp-mail.php for post-by-email, with notes on the rate-limit hack.

#PHP#Code#Web
Read post
Self · 9 min

What I did in 2010, Year end review

Year-end review of 2010: lockpicking, QR tags, GPS tracking, wheatpaste Marios around Vancouver, time-lapse videos, and SkyZoo.

#Paper#Painting#Arduino#Sensor#PHP#Security
Read post
Projects · 3 min

Arduino Infrared, Blue Robot challenge, Burning man and superman

Working on the VHS Blue Robot IR beacon challenge, plus notes on WordPress 3.0, Burning Man, and upcoming Vancouver events.

#Arduino#Vancouver#Motor#Web#PHP#Robots
Read post
Tips · 1 min

PHP email template

A tiny PHP pattern for loading an email body from a template file and substituting variables before sending.

#PHP#Code#Tutorial
Read post
Development · 1 min

In search for a bug tracking system

Comparing Mantis, Redmine, Bugzilla, and Trac for a new development project, and why Trac won on simplicity.

#Review#Web#Code#PHP
Read post
Tips · 1 min

Fatal error: Call to undefined function: php_info() in /home/*/public_html/info.php on line 2

A quick fix for a PHP fatal error caused by calling php_info() instead of phpinfo().

#Code#Tutorial#PHP
Read post
Tips · 1 min

CakePHP - Security.level

Why CakePHP was logging users out at random, and the Security.level setting that fixed the session regeneration.

#PHP#Security#Tutorial
Read post
Development · 1 min

CakePHP - Disable validation in controler

A one-line CakePHP trick to skip model validation in a controller so you can update legacy records full of bad data.

#PHP#Code#Tutorial#Web
Read post
Development · 1 min

CakePHP - Search bar

A CakePHP snippet that wires a search box to a paginated index, matching the query against story titles and author names.

#PHP#Code#Tutorial#Web
Read post
Tips · 1 min

Cakephp - Add meta tags to views

How to inject per-view meta keywords and descriptions into a CakePHP layout using $scripts_for_layout and the HTML helper.

#PHP#Tutorial#Code#Web
Read post
Development · 1 min

Cakephp - Session->setFlash is not working any more.

Fix for missing CakePHP setFlash messages after 1.2: the template needs an explicit session check and flash call.

#PHP#Code#Tutorial#Web
Read post
Development · 1 min

Cakephp - Using the same view for multiple controler functions

How to reuse one CakePHP view across multiple controller actions by disabling autoRender and calling render() with the template path.

#PHP#Code#Tutorial#Web
Read post
Development · 1 min

Troubleshooting CakePHP

A running list of CakePHP 1.2 fixes, starting with HtmlHelper::file moving to FormHelper.

#PHP#Code#Tutorial
Read post
Development · 2 min

Testing writing from Windows Live Writer

First impressions of Windows Live Writer as a desktop blog client for WordPress, with categories, live preview, and source editing.

#Web#PHP#Review#Journal
Read post
Tips · 1 min

Wordpress, Creating a RSS feed for each category.

The undocumented WordPress URL pattern for getting a per-category RSS feed: /?feed=rss2&cat=ID.

#Web#PHP#Tutorial
Read post
Development · 1 min

What time is it

A PHP script that auto-generates 79,206 timezone-comparison pages for cities like Vancouver, Paris, and New York.

#Code#Vancouver#Web#PHP
Read post
Tips · 1 min

Insert new post in to wordpress from php

PHP snippet that builds a post object and calls wp_insert_post to add a new entry to WordPress 2.5.1.

#Web#PHP#Tutorial#Code
Read post
Development · 3 min

How to install PHPBB 3.0.1

Step-by-step install guide for phpBB 3.0.1 on an Apache/MySQL host, written for COMP2920.

#Code#PHP#Robots#Tutorial
Read post
Development · 1 min

How to block spam on a wordpress Blog

Five-step walkthrough for turning on Akismet in WordPress to kill almost all comment spam.

#Code#Web#PHP#Tutorial
Read post
Tips · 1 min

PHP strip non alphanumeric

A small PHP function that strips every non-alphanumeric character out of a string with preg_replace and ereg_replace.

#Code#PHP#Tutorial
Read post
Development · 3 min

How to access Facebooks data

Walkthrough of the Facebook REST API using PHP to pull friends, check pairs, and look up user info.

#PHP#Web#Tutorial#Code
Read post
Development · 3 min

How to make a facebook applcation.

Step-by-step build of a hello-world Facebook app with the PHP5 API, from app registration to login.

#PHP#Web#Tutorial#Code
Read post
Tips · 1 min

SMF - Redirect after reply or post

How to make Simple Machines Forum send users back to the topic after posting instead of dumping them on the board index.

#Tutorial#Web#PHP
Read post
Development · 2 min

Removing the Nofollow link

Why the WordPress DoFollow plugin and its public user list make blogs an easy target for comment spammers.

#Web#PHP#Ideas
Read post
Tips · 1 min

Resize thumbnails in Wordpress

Two recipes for changing WordPress's default upload thumbnail size, one for pre-2.1 and one for 2.1+.

#Web#PHP#Tutorial
Read post
Tips · 2 min

Wordpress robots.txt

A line-by-line walkthrough of my WordPress robots.txt file and why each Disallow rule exists.

#Web#PHP#Maps#Robots#Tutorial
Read post
Bookmarks · 2 min

Del.icio.us bookmarks 2007-05-04 - 2007-05-15

Del.icio.us bookmarks 2007-05-04 - 2007-05-15

#Paper#Web#PHP#Art#Vancouver#Bookmark
Read post
Games · 1 min

Random drinking game generator

A small script that pulls rules from a database of card-and-dice drinking games and spits out a random one.

#Code#Web#PHP#Ideas
Read post
Bookmarks · 3 min

Del.icio.us bookmarks 2007-04-24 - 2007-05-04

Weekly del.icio.us dump: RSS tips, a Vancouver clean-up event, the TeRK robot kit, and a WordPress theme generator.

#Web#PHP#Robots#Vancouver#Tutorial#Bookmark
Read post
Development · 1 min

Where does this IP Address come from

A PHP script that looks up an IP against ISP allocation data to guess the visitor's rough geographic location.

#Maps#Code#Web#PHP
Read post
Development · 1 min

ImageManager 2.0

ImageManager 2.0 is a Wordpress plugin that lets bloggers resize, crop, rotate, flip, or scale uploaded images in place.

#Web#PHP#Photo#Bookmark
Read post
Bookmarks · 3 min

This Weeks Del.icio.us bookmarks 2007-04-02

Weekly del.icio.us dump on guitar stompboxes, an RGB mood lamp, ferrofluid Morpho Towers, Game of Life, and the Translink bus-stop hack.

#Web#PHP#Art#Chess#Vancouver#Tutorial
Read post
Bookmarks · 6 min

This Weeks Del.icio.us bookmarks 03/28/2007

Weekly del.icio.us dump covering a Van de Graaff generator, an LED sequence learner, GPS loggers, password crackers, and more.

#LED#Web#PHP#Security#Art#Maps
Read post
Bookmarks · 1 min

Weekly post of del.icio.us book marks to wordpress

A modified herebox.org script that pulls new del.icio.us links into Wordpress once a week as draft posts with tag links.

#Code#Web#PHP#Bookmark
Read post
Development · 1 min

Extracting the IPTC data from an image in PHP

How to pull Picasa captions and other IPTC metadata out of an image in PHP using iptcparse and iptcembed.

#Photo#Code#PHP#Art#Tutorial
Read post
Development · 1 min

Photo Gallery that does not require a MySql database

An IPTC mod for Enhanced Simple PHP Gallery so it reads Picasa titles, no database needed, just upload and go.

#PHP#Art#Photo
Read post
Development · 1 min

Subscribe to Comments

A Wordpress plug-in that emails readers when someone replies to a post they commented on, installed with two file uploads.

#Web#PHP#Tutorial
Read post
Media · 1 min

Audio Player Wordpress Plugin

The 1pixelout WordPress audio player plugin, a simple start/stop streaming player that also works outside WordPress.

#Web#PHP#Tutorial
Read post