<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>Ink Plant Code</title>
<link>https://inkplant.com/code</link>
<description>PHP, MySQL, Ajax, and HTML tutorials, code snippets, and examples to help solve a wide variety of programming questions.</description>
<pubDate>Thu, 30 Aug 2018 09:45:53 -0400</pubDate>
<lastBuildDate>Thu, 30 Aug 2018 09:45:53 -0400</lastBuildDate>
<language>en-us</language>
<item>
	<title>Use .htaccess to Prevent WP-Admin Access on Local and Staging</title>
	<link>https://inkplant.com/code/htaccess-lockdown-admin-on-local</link>
	<pubDate>Thu, 26 Jul 2018 06:30:14 -0400</pubDate>
	<description>Here's an easy trick that will keep you from accidentally editing posts and pages on the wrong version of your site.</description>
	<guid>https://inkplant.com/code/htaccess-lockdown-admin-on-local</guid>
</item>
<item>
	<title>Fade Between Images with jQuery</title>
	<link>https://inkplant.com/code/jquery-fade-between-images</link>
	<pubDate>Sun, 22 Jul 2018 20:33:00 -0400</pubDate>
	<description>With this PHP function, you can fade directly from one image to another with jQuery, and even make a looping slideshow. Super easy.</description>
	<guid>https://inkplant.com/code/jquery-fade-between-images</guid>
	<category>PHP</category>
	<category>JavaScript</category>
	<category>jQuery</category>
</item>
<item>
	<title>How To Set Up a Local WordPress Environment Without Using a Plugin</title>
	<link>https://inkplant.com/code/wordpress-local-environment</link>
	<pubDate>Wed, 11 Jul 2018 17:29:52 -0400</pubDate>
	<description>You need a local dev environment. You need a staging environment. You don't want to install another plugin. This tutorial will help.</description>
	<guid>https://inkplant.com/code/wordpress-local-environment</guid>
</item>
<item>
	<title>Fonts</title>
	<link>https://inkplant.com/code/fonts</link>
	<pubDate>Thu, 12 Apr 2018 09:08:57 -0400</pubDate>
	<description>A bunch of common web fonts with a wacky backup font in place so that it's obvious if your browser isn't loading up the intended one.</description>
	<guid>https://inkplant.com/code/fonts</guid>
</item>
<item>
	<title>Bookmarklet to Grab Query String Data</title>
	<link>https://inkplant.com/code/query-string-bookmarklet</link>
	<pubDate>Tue, 20 Mar 2018 13:10:08 -0400</pubDate>
	<description>JavaScript bookmarklet code that grabs all the parameters from the query string and places their data into the text fields by ID.</description>
	<guid>https://inkplant.com/code/query-string-bookmarklet</guid>
	<category>JavaScript</category>
</item>
<item>
	<title>How to Remove Decimals from Prices in BigCommerce</title>
	<link>https://inkplant.com/code/remove-decimals-from-prices-bigcommerce</link>
	<pubDate>Fri, 16 Mar 2018 15:58:41 -0400</pubDate>
	<description>jQuery script that removes the decimal places from prices, and instructions on how to install it to your BigCommerce store.</description>
	<guid>https://inkplant.com/code/remove-decimals-from-prices-bigcommerce</guid>
	<category>CSS</category>
	<category>JavaScript</category>
	<category>jQuery</category>
	<category>BigCommerce</category>
</item>
<item>
	<title>Get Access to IFrame Elements with JavaScript</title>
	<link>https://inkplant.com/code/javascript-iframe-access</link>
	<pubDate>Tue, 13 Feb 2018 06:04:20 -0500</pubDate>
	<description>Using a little JavaScript magic, you can target the iframe's elements just like you would any element in the main page.</description>
	<guid>https://inkplant.com/code/javascript-iframe-access</guid>
	<category>JavaScript</category>
</item>
<item>
	<title>PHP Content-Type Headers</title>
	<link>https://inkplant.com/code/content-type-headers</link>
	<pubDate>Mon, 15 Jan 2018 11:20:00 -0500</pubDate>
	<description>A list of commonly used HTTP headers, pre-formatted as PHP code for quick copying and pasting.</description>
	<guid>https://inkplant.com/code/content-type-headers</guid>
	<category>PHP</category>
</item>
<item>
	<title>JavaScript Equivalent of PHP's ucwords Function</title>
	<link>https://inkplant.com/code/javascript-ucwords</link>
	<pubDate>Sat, 06 Jan 2018 00:00:00 -0500</pubDate>
	<description>This JavaScript function takes a string, converts it to lowercase, then capitalizes the first letter of each word.</description>
	<guid>https://inkplant.com/code/javascript-ucwords</guid>
	<category>JavaScript</category>
</item>
<item>
	<title>Why is jQuery Not Working in Drupal 8?</title>
	<link>https://inkplant.com/code/drupal-8-jquery</link>
	<pubDate>Thu, 21 Sep 2017 00:00:00 -0400</pubDate>
	<description>Here's a quick hack to get around the problem.</description>
	<guid>https://inkplant.com/code/drupal-8-jquery</guid>
	<category>JavaScript</category>
	<category>jQuery</category>
	<category>Drupal</category>
</item>
<item>
	<title>Collect and Save Electronic Signatures</title>
	<link>https://inkplant.com/code/save-electronic-signature</link>
	<pubDate>Fri, 18 Aug 2017 00:00:00 -0400</pubDate>
	<description>This simple example will show you exactly how to collect an electronic signature from your users and save it as a PNG file using PHP.</description>
	<guid>https://inkplant.com/code/save-electronic-signature</guid>
	<category>PHP</category>
	<category>JavaScript</category>
</item>
<item>
	<title>Get and Set Query String Variables with JavaScript</title>
	<link>https://inkplant.com/code/get-query-strings-with-javascript</link>
	<pubDate>Sun, 09 Apr 2017 00:00:00 -0400</pubDate>
	<description>Quick functions that will let you both get data from the query string in JavaScript, and also to update that query string.</description>
	<guid>https://inkplant.com/code/get-query-strings-with-javascript</guid>
	<category>JavaScript</category>
</item>
<item>
	<title>Get File Size and File Name of Local Files with JavaScript</title>
	<link>https://inkplant.com/code/get-file-size-and-file-name-with-javascript</link>
	<pubDate>Tue, 07 Feb 2017 00:00:00 -0500</pubDate>
	<description>With the HTML5 File interface, you can access filename and size of users' files before they're uploaded. Here's how.</description>
	<guid>https://inkplant.com/code/get-file-size-and-file-name-with-javascript</guid>
	<category>JavaScript</category>
	<category>jQuery</category>
</item>
<item>
	<title>Is Facebook Spying on Our iPhone Photos?</title>
	<link>https://inkplant.com/code/facebook-privacy-issue</link>
	<pubDate>Tue, 20 Dec 2016 00:00:00 -0500</pubDate>
	<description>Connecting the dots between a snapped cell phone photo and the same product in a Facebook ad.</description>
	<guid>https://inkplant.com/code/facebook-privacy-issue</guid>
	<category>Facebook</category>
</item>
<item>
	<title>Send Email via SMTP from PHP Using PEAR</title>
	<link>https://inkplant.com/code/send-email-via-smtp-from-php</link>
	<pubDate>Sun, 18 Dec 2016 00:00:00 -0500</pubDate>
	<description>A more secure alternative to using PHP's mail() function that will help keep your messages out of the spam filters.</description>
	<guid>https://inkplant.com/code/send-email-via-smtp-from-php</guid>
	<category>PHP</category>
	<category>Email</category>
</item>
<item>
	<title>Scroll to Div with jQuery</title>
	<link>https://inkplant.com/code/jquery-scroll-to-div</link>
	<pubDate>Sun, 27 Nov 2016 00:00:00 -0500</pubDate>
	<description>Find the top of an element on your page and scroll to it (without animation) using jQuery.</description>
	<guid>https://inkplant.com/code/jquery-scroll-to-div</guid>
	<category>JavaScript</category>
	<category>jQuery</category>
</item>
<item>
	<title>Get Redirect URL with PHP</title>
	<link>https://inkplant.com/code/get-redirect-url</link>
	<pubDate>Sun, 27 Nov 2016 00:00:00 -0500</pubDate>
	<description>This function follows redirects (even multiple redirects) and returns the final destination URL as a string.</description>
	<guid>https://inkplant.com/code/get-redirect-url</guid>
	<category>PHP</category>
</item>
<item>
	<title>List of PHP Supported Time Zones</title>
	<link>https://inkplant.com/code/php-supported-timezones</link>
	<pubDate>Sat, 05 Nov 2016 00:00:00 -0400</pubDate>
	<description>An easy-to-copy display of all the supported zones, plus code that you can use to create your own dynamic list and HTML to populate a dropdown.</description>
	<guid>https://inkplant.com/code/php-supported-timezones</guid>
	<category>PHP</category>
	<category>Data Dumps</category>
</item>
<item>
	<title>Regex Checking of Foreign Characters in PHP</title>
	<link>https://inkplant.com/code/php-regex-foreign-characters</link>
	<pubDate>Fri, 04 Nov 2016 00:00:00 -0400</pubDate>
	<description>How to handle extended characters (like the in caf ) with regular expressions.</description>
	<guid>https://inkplant.com/code/php-regex-foreign-characters</guid>
	<category>PHP</category>
</item>
<item>
	<title>Zoom in on Hover with CSS</title>
	<link>https://inkplant.com/code/css-zoom-in-on-hover</link>
	<pubDate>Fri, 21 Oct 2016 00:00:00 -0400</pubDate>
	<description>Use CSS to zoom in when a user hovers over div or image (and keep it from expanding).</description>
	<guid>https://inkplant.com/code/css-zoom-in-on-hover</guid>
	<category>CSS</category>
	<category>HTML</category>
</item>
</channel>
</rss>
