<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Development Archives - VirtJunkie</title>
	<atom:link href="/category/web-development/feed/" rel="self" type="application/rss+xml" />
	<link>/category/web-development/</link>
	<description>Virtualization, Automation, and anything else that might be on my mind</description>
	<lastBuildDate>Sat, 18 Oct 2008 06:08:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.5</generator>

<image>
	<url>/wp-content/uploads/2020/04/cropped-vj4-150x150.png</url>
	<title>Web Development Archives - VirtJunkie</title>
	<link>/category/web-development/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Change the Author of Multiple WordPress Posts</title>
		<link>/2008/10/18/change-the-author-of-multiple-wordpress-posts/</link>
					<comments>/2008/10/18/change-the-author-of-multiple-wordpress-posts/#respond</comments>
		
		<dc:creator><![CDATA[Jon]]></dc:creator>
		<pubDate>Sat, 18 Oct 2008 06:08:17 +0000</pubDate>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">http://www.jonhoweonline.com/?p=231</guid>

					<description><![CDATA[<p>Disclaimer: This idea requires access to the shell on your webserver. This is the SQL query you&#8217;ll use: [crayon-667f6e77b5fbc886206713/] I had posts that were assigned to Admin (which by default is user ID 1), and I wanted to assign them all to my user (which in this case is user ID 2). My query looked [&#8230;]</p>
<p>The post <a href="/2008/10/18/change-the-author-of-multiple-wordpress-posts/">Change the Author of Multiple WordPress Posts</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Disclaimer: This idea requires access to the shell on your webserver.</p>
<p>This is the SQL query you&#8217;ll use:</p>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">UPDATE wp_posts 
SET post_author='[NEW ID]' 
WHERE post_author='[EXISTING ID]';</pre><p></p>
<p>I had posts that were assigned to Admin (which by default is user ID 1), and I wanted to assign them all to my user (which in this case is user ID 2).</p>
<p>My query looked like this:</p>
<p></p><pre class="urvanov-syntax-highlighter-plain-tag">UPDATE wp_posts 
SET post_author='2' 
WHERE post_author='1';</pre><p></p>
<p>That will go through the posts database and update the author for all of them.</p>
<p>&#8212;<br />
Jon</p>
<p>The post <a href="/2008/10/18/change-the-author-of-multiple-wordpress-posts/">Change the Author of Multiple WordPress Posts</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>/2008/10/18/change-the-author-of-multiple-wordpress-posts/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>CMS Switchover</title>
		<link>/2006/07/29/cms-switchover/</link>
					<comments>/2006/07/29/cms-switchover/#comments</comments>
		
		<dc:creator><![CDATA[Jon]]></dc:creator>
		<pubDate>Sat, 29 Jul 2006 05:19:39 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">http://www.jonhoweonline.com/blog/node/91</guid>

					<description><![CDATA[<p>After using Drupal for almost 2 years I decided that it&#8217;s time for me to try out something different. As you can see I decided on WordPress. I used the guide at spindrup.us to convert my database from drupal to be used with wordpress. You can still see my drupal installation here if you want [&#8230;]</p>
<p>The post <a href="/2006/07/29/cms-switchover/">CMS Switchover</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>After using <a href="http://drupal.org/">Drupal</a> for almost 2 years I decided that it&#8217;s time for me to try out something different.  As you can see I decided on WordPress.</p>
<p>I used <a href="http://spindrop.us/2006/05/19/migrating-from-drupal-47-to-wordpress">the guide at spindrup.us</a> to convert my database from drupal to be used with wordpress.<br />
You can still see my drupal installation <a href="/drupal">here</a> if you want to, but there won&#8217;t be any more updates there.</p>
<p>Enjoy,</p>
<p>Jon Howe</p>
<p>The post <a href="/2006/07/29/cms-switchover/">CMS Switchover</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>/2006/07/29/cms-switchover/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>Drupal 4.7.0 Released</title>
		<link>/2006/05/01/drupal_4_7_0_released/</link>
					<comments>/2006/05/01/drupal_4_7_0_released/#respond</comments>
		
		<dc:creator><![CDATA[Jon]]></dc:creator>
		<pubDate>Mon, 01 May 2006 13:11:38 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">http://www.jonhoweonline.com/blog/?p=74</guid>

					<description><![CDATA[<p>From the Drupal Homepage: After more than a year of development we are ready to release Drupal 4.7.0 to the world. More than five years, 13 major releases, 30+ servicing firms employing 100+ Drupal professionals, 300+ third party modules, and over 55,000+ Drupal powered sites later, Drupal 4.7.0 is finally here and it rocks! Needless [&#8230;]</p>
<p>The post <a href="/2006/05/01/drupal_4_7_0_released/">Drupal 4.7.0 Released</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>From the <a href="http://drupal.org/drupal-4.7.0">Drupal Homepage</a>:<br />
<cite><br />
After more than a year of development we are ready to release Drupal 4.7.0 to the world. More than five years, 13 major releases, 30+ servicing firms employing 100+ Drupal professionals, 300+ third party modules, and over 55,000+ Drupal powered sites later, Drupal 4.7.0 is finally here and it rocks!<br />
</cite></p>
<p>Needless to say, I&#8217;m going to be updating this version very quickly, aka as soon as my laptop starts up.  Look for the next post to be from Drupal 4.7.0!</p>
<p>Later,<br />
Jon Howe</p>
<p>The post <a href="/2006/05/01/drupal_4_7_0_released/">Drupal 4.7.0 Released</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>/2006/05/01/drupal_4_7_0_released/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>AJAX Based MySql Live Search</title>
		<link>/2006/04/03/ajax_based_mysql_live_search/</link>
					<comments>/2006/04/03/ajax_based_mysql_live_search/#respond</comments>
		
		<dc:creator><![CDATA[Jon]]></dc:creator>
		<pubDate>Mon, 03 Apr 2006 22:02:25 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">http://www.jonhoweonline.com/blog/?p=69</guid>

					<description><![CDATA[<p>This is a little something that I made up this afternoon at school. It&#8217;s an implementation of a search app with out a celing. In other words , there&#8217;s no submit button. With each keystoke that you type, the query get&#8217;s more accurate. If you just want to check it out (with source, and an [&#8230;]</p>
<p>The post <a href="/2006/04/03/ajax_based_mysql_live_search/">AJAX Based MySql Live Search</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This is a little something that I made up this afternoon at school.</p>
<p>It&#8217;s an implementation of a search app with out a celing.  In other words , there&#8217;s no submit button.  With each keystoke that you type, the query get&#8217;s more accurate.</p>
<p>If you just want to check it out (with source, and an example) then <a href="/blog/blogfiles/ajax_db_search/ajaxSearch.php">Click Here</a><br />
The code is commented pretty well.</p>
<p>If you want a little explanation read on.</p>
<p>I used a library called <a href="http://www.xajaxproject.org/">Xajax</a> for this project (and the last one as well).  It&#8217;s an extremely useful and easy to use library because of the fact that it doesn&#8217;t require the coder to know any javascript. This is a goood thing, because I HATe javascript.</p>
<p>The Xajax library allows you to take a PHP function and essentially use it as a javascript function asynchronously.</p>
<p>What this script does is check to see if the user presses a key.  Each time that they do the PHP function autoSearch() runs.  autoSearch() has one paramater, the current value of the input box.  Read the code comments for more info on this.</p>
<p>If the entered query is 2 or more charachters, then a mysql query is executed.  If there are result(s), then they are diplayed.</p>
<p>Practical Application:<br />
Personally, I hope to use this in the content mananagement system that I&#8217;ll be starting soon.  I&#8217;m planning on having it parse through blog entries, and display the title and the publishing date of the post.</p>
<p>When you click on the link above you&#8217;ll see the example page.  At the bottom of it are links to the PHP source, as well as the MySql Source.</p>
<p>If you have any questions email me at &#8220;howe -dot- jon &#8211; at &#8211; gmail &#8211; dot &#8211; com&#8221;, and I&#8217;ll get back as soon as I can.</p>
<p>Later,<br />
Jon Howe</p>
<p>The post <a href="/2006/04/03/ajax_based_mysql_live_search/">AJAX Based MySql Live Search</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>/2006/04/03/ajax_based_mysql_live_search/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Howto: AJAX Regular Expression Email Verifier</title>
		<link>/2006/03/31/howto_ajax_regular_expression_email_verifier/</link>
					<comments>/2006/03/31/howto_ajax_regular_expression_email_verifier/#respond</comments>
		
		<dc:creator><![CDATA[Jon]]></dc:creator>
		<pubDate>Sat, 01 Apr 2006 03:05:13 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">http://www.jonhoweonline.com/blog/?p=67</guid>

					<description><![CDATA[<p>It&#8217;s important to do form validation for obvious reasons. This is an implementation of an email checker that uses php regular expressions, and a little bet if pizzaz with asynchronous javascript and xml, or AJAX. Here&#8217;s the example. A quick rundown of how this works is: You type in a string You hit submit The [&#8230;]</p>
<p>The post <a href="/2006/03/31/howto_ajax_regular_expression_email_verifier/">Howto: AJAX Regular Expression Email Verifier</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>It&#8217;s important to do form validation for obvious reasons.  This is an implementation of an email checker that uses php regular expressions, and a little bet if pizzaz with asynchronous javascript and xml, or AJAX.</p>
<p><a href="/blog/blogfiles/ajax_email_regex/ajax_email_regex.php">Here&#8217;s the example.</a></p>
<p>A quick rundown of how this works is:</p>
<ol>
<li>You type in a string</li>
<li>You hit submit</li>
<li>The data is transfered asynchronously (without refreshing the page) to the server</li>
<li>The server checks to see if the email is valid or invalid</li>
<li>If it&#8217;s valid it tells you so, as well as if it&#8217;s not</li>
<p>The guts of the script are here:<br />
<code>if (eregi("^[a-zA-Z0-9_-.+]+@[a-zA-Z0-9-]+.[a-zA-Z0-9-_.]+$",$email)) {<br />
		//return confirmation that it worked<br />
}<br />
else {<br />
           //return that it didn't work<br />
}<br />
</code></p>
<p>Basically, it checks to see if there&#8217;s either a lowercase or uppercase a-z or 0-9 or an underscore, or a dash, or a period before the @ sign ([a-zA-Z0-9_-.+]+@).  Then after the @ sign it checks for the same thing except for the period and the underscore up until another dot.  After that dot it checks once again for the same charachters as the first set.</p>
<p>Hopefully this helps someone.  If you have any questions feel free to email me at &#8220;howe -dot- jon -at- gmail -dot- com&#8221; and I&#8217;ll help you however I can.</p>
<p>Later,<br />
Jon Howe</p>
<p>The post <a href="/2006/03/31/howto_ajax_regular_expression_email_verifier/">Howto: AJAX Regular Expression Email Verifier</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>/2006/03/31/howto_ajax_regular_expression_email_verifier/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>HOWTO: Create a Logging Redirection Page using PHP and MYSql</title>
		<link>/2006/03/28/howto_create_a_logging_redirection_page_using_php_and_mysql/</link>
					<comments>/2006/03/28/howto_create_a_logging_redirection_page_using_php_and_mysql/#respond</comments>
		
		<dc:creator><![CDATA[Jon]]></dc:creator>
		<pubDate>Wed, 29 Mar 2006 02:13:46 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">http://www.jonhoweonline.com/blog/?p=65</guid>

					<description><![CDATA[<p>Since I&#8217;ve already been on the topic of doing small beginner PHP tutorials, here&#8217;s another one. This one is pretty self explanitory. You can see it here. Basically what this does is let you enter a domain or page or whatever and it redirects you to the page. On top of just redirecting you, it [&#8230;]</p>
<p>The post <a href="/2006/03/28/howto_create_a_logging_redirection_page_using_php_and_mysql/">HOWTO: Create a Logging Redirection Page using PHP and MYSql</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Since I&#8217;ve already been on the topic of doing small beginner PHP tutorials, here&#8217;s another one.  This one is pretty self explanitory.</p>
<p>You can see it <a href="/blog/blogfiles/redirect/redirect_main.php">here</a>.</p>
<p>Basically what this does is let you enter a domain or page or whatever and it redirects you to the page.  On top of just redirecting you, it logs all of the redirections along with the request date, and requester ip address.</p>
<p>If you have a need for this, you&#8217;ll most likely know how to implement it.  If not, feel free, as always, to email me (howe -dot- jon -at- gmail -dot- com), and I&#8217;d be happy to help you out to the best of my abilities.</p>
<p>Later,<br />
Jon Howe</p>
<p>The post <a href="/2006/03/28/howto_create_a_logging_redirection_page_using_php_and_mysql/">HOWTO: Create a Logging Redirection Page using PHP and MYSql</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>/2006/03/28/howto_create_a_logging_redirection_page_using_php_and_mysql/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Howto: PHP Secure Download Script</title>
		<link>/2006/03/25/howto_php_secure_download_script/</link>
					<comments>/2006/03/25/howto_php_secure_download_script/#respond</comments>
		
		<dc:creator><![CDATA[Jon]]></dc:creator>
		<pubDate>Sat, 25 Mar 2006 12:10:14 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">http://www.jonhoweonline.com/blog/?p=64</guid>

					<description><![CDATA[<p>I&#8217;ve been wanting to make a script in PHP that handles downloads for a while. Last night I was bored, so I made one. DISCLAIMER: This is a very basic example, but if you have any use for this, I&#8217;m sure that you can figure out how to use it. If not, I&#8217;ll probably work [&#8230;]</p>
<p>The post <a href="/2006/03/25/howto_php_secure_download_script/">Howto: PHP Secure Download Script</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve been wanting to make a script in PHP that handles downloads for a while.  Last night I was bored, so I made one.</p>
<p>DISCLAIMER:<br />
This is a very basic example, but if you have any use for this, I&#8217;m sure that you can figure out how to use it.  If not, I&#8217;ll probably work more with it in the future anyways.</p>
<p>This system works with two PHP files.</p>
<p>If you just want to see the script work, go <a href="/blog/blogfiles/dlkeeper/dl.php">Here</a>.</p>
<p>From there you can download a sample file and see the source of the scripts.</p>
<p>Now, for how it works&#8230;</p>
<p>All that the first script (dl.php) does is display a link to the   main download script (which handles the actual download) and sets a session variable for 60 seconds in the future.</p>
<p>Once you click on the link, the main download script (dl2.php) sets another session variable containing the time that the link was clicked.</p>
<p>It checks to see if the time that dl.php was generated no more than 60 seconds later than the link was clicked.  If it was later than that the download fails.</p>
<p>Feel free to email me (howe -dot- jon -at- gmail -dot- com) if you have any questions, or requests or whatever, and I&#8217;ll do my best to get back to you that day.</p>
<p>Later,<br />
Jon Howe</p>
<p>The post <a href="/2006/03/25/howto_php_secure_download_script/">Howto: PHP Secure Download Script</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>/2006/03/25/howto_php_secure_download_script/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Useful Web Tool from Microsoft</title>
		<link>/2005/12/01/useful_web_tool_from_microsoft/</link>
					<comments>/2005/12/01/useful_web_tool_from_microsoft/#respond</comments>
		
		<dc:creator><![CDATA[Jon]]></dc:creator>
		<pubDate>Fri, 02 Dec 2005 02:16:21 +0000</pubDate>
				<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">http://www.jonhoweonline.com/blog/?p=38</guid>

					<description><![CDATA[<p>I&#8217;ve been working on a couple of new projects that are really javascript intensive, and have been banging my head because of problems with getting scripts working in all browsers. The odds of me finding a tool to help by Microsoft of all companies is astounding to me, because of my feelings towards them. I [&#8230;]</p>
<p>The post <a href="/2005/12/01/useful_web_tool_from_microsoft/">Useful Web Tool from Microsoft</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve been working on a couple of new projects that are really javascript intensive, and have been banging my head because of problems with getting scripts working in all browsers.</p>
<p>The odds of me finding a tool to help by Microsoft of all companies is astounding to me, because of my feelings towards them.</p>
<p>I found a tool, which works only in internet explorer (<a href="http://www.microsoft.com/downloads/details.aspx?familyid=2f465be0-94fd-4569-b3c4-dffdf19ccd99&amp;displaylang=en">Located Here</a>) that is helping me out a lot.</p>
<p>Check it out, even if you are like me and primarily use firefox.</p>
<p>More later,<br />
Jon Howe</p>
<p>The post <a href="/2005/12/01/useful_web_tool_from_microsoft/">Useful Web Tool from Microsoft</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>/2005/12/01/useful_web_tool_from_microsoft/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>New Idea</title>
		<link>/2005/11/03/new_idea/</link>
					<comments>/2005/11/03/new_idea/#respond</comments>
		
		<dc:creator><![CDATA[Jon]]></dc:creator>
		<pubDate>Fri, 04 Nov 2005 02:53:07 +0000</pubDate>
				<category><![CDATA[Web Development]]></category>
		<guid isPermaLink="false">http://www.jonhoweonline.com/blog/?p=26</guid>

					<description><![CDATA[<p>I just got a new book on Ajax, which is an exploding method of creating code using a combination of Javascript, CSS, DOM, and xhtmlrequest. That&#8217;s a bunch of technical junk I guess. The main point is that it allows you to do really cool things on a webpage without refreshing the whole page. I&#8217;m [&#8230;]</p>
<p>The post <a href="/2005/11/03/new_idea/">New Idea</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I just got a new book on Ajax, which is an exploding method of creating code using a combination of Javascript, CSS, DOM, and xhtmlrequest.</p>
<p>That&#8217;s a bunch of technical junk I guess.  The main point is that it allows you to do really cool things on a webpage without refreshing the whole page.</p>
<p>I&#8217;m going to try to read a chapter in it each day, if not one day then every two days, and post comments and maybe code examples (if I feel creative) as well.</p>
<p>I think, actually, that doing some code examples up here each time would cement the ideas into my head.  Sounds like a plan.</p>
<p>&#8230; Wait, I&#8217;m not sure that the content management system that I&#8217;m using for this website can handle javacript&#8230;  I guess we&#8217;ll see!</p>
<p>I&#8217;ll try and post an example or two / mabye a summary here later tonight once I finish chapter 2. (chapter 1 was way too boring, so I skipped it)</p>
<p>Later,<br />
Jon Howe</p>
<p>The post <a href="/2005/11/03/new_idea/">New Idea</a> appeared first on <a href="/">VirtJunkie</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>/2005/11/03/new_idea/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
