Archive for Seth Carstens

PHP and WordPress Encryption and Decryption Tutorial

sethmatics-learn-php-encryption-banner

This is the example I built while learning how to properly protect password before they are stored in the database. I’ve seen dozens of plugins simply take in API paramters like “username and password” and just store those values in the database for use. How horrible is that! We decided to do the right thing and learn about encryption security…

read more

Properly setting up a WordPress website to Market your business model

workflow

*This guide is assuming website is for marketing and information only (or lead generation). There are some other considerations and steps involved in creating an ecommerce site, web portal, online services website, or another venue. ** Presentations of this material will be available in the coming weeks. If your interested in viewing the presentations live, please visit the meetup group…

read more

Codeschools Chrome DevTools Course Notes

devtools-preview-screenshot

This post will offer higher end developers some notes about what I learned about Google Chrome dev tools. I consider myself to be fairly experienced in web development after over 10 years of  coding and I still managed to take away some very cool information from the DevTools Online Course: Make changes to a stylesheet, save your changes, view the…

read more

Downloading a PHP file using fopen (anywhere on the server)

capture-php-code-with-butterfly-net

While migrating a website today, we ran into some issues. This issue was caused by the previous developers trying to “hide code” from the end users so that they could not move the website away from the marketing agency (very shady). Below is the PHP code we used to download a working copy of the “hidden” file. As you can…

read more

WordCamp Phoenix 2013 – Seth’s Notes

wcphx-2013-presentation-preview

WP 301 – Presentation 1 Kurt’s Presentation Slides – http://x.co/phx13301/ Keywords: Netbeans, xdebug, XAMPP, VirtualBox Have you considered local development? WP 301 – Presenation 2 Chris Olbekson Debug Plugin, PhpStorm, Code Sniffer for standards and formatting, Do you know what a CRON is? PHP Sniffer, uses PEAR, WP 301 – Presentation 3 (mine) Before questions: How many freelancers in the…

read more

Search and Replace Content in WordPress

search-replace-herlo

We tried a few plugins for this but after content reached 400-500 pages and about 1500 blog articles  the plugins just run out of memory. Instead we built and used this function, for example, to remove all shortcodes used for “citiations”. We no longer track citiations and want them all removed.

read more

previous posts
//don't enter GA code in footer anymore