<?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>Online Cortex &#187; Internet</title>
	<atom:link href="http://www.huginn.com/knuth/blog/category/internet/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.huginn.com/knuth/blog</link>
	<description>Thoughts on Science and Technology</description>
	<lastBuildDate>Thu, 03 Jun 2010 04:26:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Multiple Submit Buttons on Forms: Part II</title>
		<link>http://www.huginn.com/knuth/blog/2009/03/05/multiple-submit-buttons-on-forms-part-ii/</link>
		<comments>http://www.huginn.com/knuth/blog/2009/03/05/multiple-submit-buttons-on-forms-part-ii/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 05:14:04 +0000</pubDate>
		<dc:creator>drknuth</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Space]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[launch]]></category>
		<category><![CDATA[multiple buttons]]></category>
		<category><![CDATA[multiple submit buttons]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[submit]]></category>
		<category><![CDATA[submit buttons in forms]]></category>
		<category><![CDATA[two buttons]]></category>
		<category><![CDATA[two submit buttons]]></category>
		<category><![CDATA[URL]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.huginn.com/knuth/blog/?p=360</guid>
		<description><![CDATA[This is Part II in a discussion on how to incorporate multiple submit buttons on html forms.
Part I focused on having multiple submit buttons that performed completely different actions, such as going to different web pages.  Here we consider multiple submit buttons that launch the same php application, but take different actions within that application.
Here [...]]]></description>
			<content:encoded><![CDATA[<p>This is Part II in a discussion on how to incorporate multiple submit buttons on html forms.</p>
<p><a href="http://www.huginn.com/knuth/blog/2009/02/14/multiple-submit-buttons-on-forms/" target="_self">Part I focused on having multiple submit buttons</a> that performed completely different actions, such as going to different web pages.  Here we consider multiple submit buttons that launch the same php application, but take different actions within that application.</p>
<p>Here we have a simple form with three submit buttons:</p>
<p>&lt;form name=&#8221;categories&#8221; method=&#8221;get&#8221; action=&#8221;action.php&#8221;&gt;<br />
&lt;input type=&#8221;submit&#8221; name=&#8221;Submit_1&#8243; value=&#8221;Submit&#8221;&gt;<br />
&lt;input type=&#8221;submit&#8221; name=&#8221;Submit_2&#8243; value=&#8221;Submit&#8221;&gt;<br />
&lt;input type=&#8221;submit&#8221; name=&#8221;Submit_3&#8243; value=&#8221;Submit&#8221;&gt;<br />
&lt;/form&gt;</p>
<p>I am using the <a href="http://www.htmlcodetutorial.com/forms/_FORM_METHOD_GET.html" target="_blank">get method</a> so that you can see what actually gets sent along with the url.<br />
When you click on Submit_1 you see this URL:</p>
<p>http://www.urlkazoo.com/action.php?Submit_1=Submit</p>
<p>You can see that it is passing the name of the Submit button as a parameter.  To use this information, one simply needs to identify which parameter is being passed.  We can do this in the php code in action.php.  Here is a php snippet:</p>
<p>// Test is Submit_1 is defined<br />
if (isset($_REQUEST["Submit_1"]))<br />
{<br />
$button = 1;<br />
}<br />
// Test is Submit_2 is defined<br />
if (isset($_REQUEST["Submit_2"]))<br />
{<br />
$button = 2;<br />
}<br />
// Test is Submit_3 is defined<br />
if (isset($_REQUEST["Submit_3"]))<br />
{<br />
$button = 3;<br />
}</p>
<p>Of course the code above can be simplified using else statements.<br />
But the point is to demonstrate that we can determine which button was pressed by figuring out which button&#8217;s name has been passed along as a parameter.</p>
<p>From here you can go on to perform different functions based on which submit button was pressed.</p>
<p>Good Luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huginn.com/knuth/blog/2009/03/05/multiple-submit-buttons-on-forms-part-ii/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why doesn&#8217;t my CSS work?</title>
		<link>http://www.huginn.com/knuth/blog/2009/02/18/why-doesnt-my-css-work/</link>
		<comments>http://www.huginn.com/knuth/blog/2009/02/18/why-doesnt-my-css-work/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 21:58:44 +0000</pubDate>
		<dc:creator>drknuth</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[CSS stylesheet broken not working cascading style sheet validator]]></category>

		<guid isPermaLink="false">http://www.huginn.com/knuth/blog/?p=342</guid>
		<description><![CDATA[It seems that I am always banging my head against the CSS wall screaming &#8220;What is wrong with my CSS code?&#8221; and &#8220;Why doesn&#8217;t it work?&#8221;  Today I came across the blog CSSNewbie and they had a nice article on the top five reasons why CSS doesn&#8217;t work.
The basic reasons are:

Missing bracket
Missing semicolon
Misspelled Class [...]]]></description>
			<content:encoded><![CDATA[<p>It seems that I am always banging my head against the CSS wall screaming &#8220;What is wrong with my CSS code?&#8221; and &#8220;Why doesn&#8217;t it work?&#8221;  Today I came across the blog <a href="http://www.cssnewbie.com" target="_blank">CSSNewbie</a> and they had a nice article on the <a href="http://www.cssnewbie.com/five-quick-css-fixes/" target="_blank">top five reasons why CSS doesn&#8217;t work</a>.</p>
<p>The basic reasons are:</p>
<ol>
<li>Missing bracket</li>
<li>Missing semicolon</li>
<li>Misspelled Class or ID</li>
<li>Misspelled Properties or Value</li>
<li>Bad CSS Value</li>
</ol>
<p>Guess which one haunted me?</p>
<p>#1 of course!<br />
What I didn&#8217;t know is that CSS loads until there is an error and then it stops.  I had a CSS file that I linked to in the &lt;head&gt; section of my page and after it I had some style tags with some additional CSS definitions.  I saw that half of my CSS stylesheet worked and the other half didn&#8217;t, but the commands listed after the included stylesheet worked.  So I was very confused.</p>
<p>It turns out that the CSS stylesheet stopped loading after the parse error, so only the commands defined in the beginning worked.  But when it got to the new style tags, it read those just fine.</p>
<p>To find the error, I used a CSS Validator.<br />
Specifically, I went to:</p>
<p><a href="http://jigsaw.w3.org/css-validator/" target="_blank">W3C CSS Validation Service</a><br />
<a href="http://jigsaw.w3.org/css-validator/" target="_blank">http://jigsaw.w3.org/css-validator/</a></p>
<p>and gave it the URI to my CSS stylesheet.<br />
They found the error.</p>
<p>Good Luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huginn.com/knuth/blog/2009/02/18/why-doesnt-my-css-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple Submit Buttons on Forms</title>
		<link>http://www.huginn.com/knuth/blog/2009/02/14/multiple-submit-buttons-on-forms/</link>
		<comments>http://www.huginn.com/knuth/blog/2009/02/14/multiple-submit-buttons-on-forms/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 08:56:58 +0000</pubDate>
		<dc:creator>drknuth</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[html tutorial forms submit button multiple]]></category>

		<guid isPermaLink="false">http://www.huginn.com/knuth/blog/?p=251</guid>
		<description><![CDATA[I recently encountered the challenge of including multiple submit buttons on an html form.  Wading through the noise on various blogs and help sites was painful.  I finally found the following solution that works, and decided to post this little tutorial&#8230;
&#60;form name=myFORM type=post action=default.html&#62;
&#60;input type=&#8217;submit&#8217; value=&#8217;Open Default Site&#8217; onclick=&#8221;this.form.target=&#8217;_blank&#8217;;return true;&#8221;&#62;
&#60;input type=&#8217;submit&#8217; value=&#8217;Open Special Site&#8217; onclick=&#8221;myFORM.action=&#8217;special.html&#8217;; [...]]]></description>
			<content:encoded><![CDATA[<p>I recently encountered the challenge of including multiple submit buttons on an html form.  Wading through the noise on various blogs and help sites was painful.  I finally found the following solution that works, and decided to post this little tutorial&#8230;</p>
<p><span style="font-family: Verdana; color: blue; font-size: x-small;">&lt;form name=myFORM type=post action=default.html&gt;</span></p>
<p><span style="font-family: Verdana; color: blue; font-size: x-small;">&lt;input type=&#8217;submit&#8217; value=&#8217;Open Default Site&#8217; onclick=&#8221;this.form.target=&#8217;_blank&#8217;;return true;&#8221;&gt;<br />
&lt;input type=&#8217;submit&#8217; value=&#8217;Open Special Site&#8217; onclick=&#8221;myFORM.action=&#8217;special.html&#8217;;  return true;&#8221;&gt; &lt;/form&gt;</span></p>
<p>Note that the default action of the form is defined in the first line by:<br />
<span style="font-family: Verdana; color: blue; font-size: x-small;">action=default.html</span><br />
Both buttons are of type Submit, but they have different values, which reflect what the buttons actually say.</p>
<p>The command in the first button<br />
<span style="font-family: Verdana; color: blue; font-size: x-small;">onclick=&#8221;this.form.target=&#8217;_blank&#8217;;return true;&#8221;</span><br />
instructs it to follow the default action, which is to open default.html in a new window (indicated by <span style="font-family: Verdana; color: blue; font-size: x-small;">target=&#8217;_blank&#8217;</span>).</p>
<p>The command in the second button<br />
<span style="font-family: Verdana; color: blue; font-size: x-small;">onclick=&#8221;myFORM.action=&#8217;special.html&#8217;;  return true;&#8221;</span><br />
instructs it to take on a new action, which is to open special.html</p>
<p>You can keep adding additional submit buttons this way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huginn.com/knuth/blog/2009/02/14/multiple-submit-buttons-on-forms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Gmail as Your Universal Email Account</title>
		<link>http://www.huginn.com/knuth/blog/2009/02/04/using-gmail-as-your-universal-email-account/</link>
		<comments>http://www.huginn.com/knuth/blog/2009/02/04/using-gmail-as-your-universal-email-account/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 06:36:31 +0000</pubDate>
		<dc:creator>drknuth</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[accounts]]></category>
		<category><![CDATA[consolidate]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.huginn.com/knuth/blog/?p=237</guid>
		<description><![CDATA[I have begun to use gmail as my universal email account.  I currently have emails from three different addresses converging into my gmail.  It is easy to set up.  Follow the instructions in the tutorial below:
Tutorial: Gmail as universal email

Gmails excellent spam filters outperform those used by the university.  This has saved me a lot [...]]]></description>
			<content:encoded><![CDATA[<p>I have begun to use gmail as my universal email account.  I currently have emails from three different addresses converging into my gmail.  It is easy to set up.  Follow the instructions in the tutorial below:</p>
<p><a title="Gmail as universal email" href="http://www.googletutor.com/2006/06/20/using-gmail-as-your-universal-email-account/" target="_blank">Tutorial: Gmail as universal email<br />
</a></p>
<p>Gmails excellent spam filters outperform those used by the university.  This has saved me a lot of time as I no longer have to go through hundreds of emails a day.  In addition, I can use gmail to send email from any one of my accounts by using the &#8220;Send From&#8221; drop-down menu.</p>
<p>Easy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huginn.com/knuth/blog/2009/02/04/using-gmail-as-your-universal-email-account/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Top 10 Things you Forgot Gmail Can Do</title>
		<link>http://www.huginn.com/knuth/blog/2009/02/03/top-10-things-you-forgot-gmail-can-do/</link>
		<comments>http://www.huginn.com/knuth/blog/2009/02/03/top-10-things-you-forgot-gmail-can-do/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 06:10:31 +0000</pubDate>
		<dc:creator>drknuth</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[google gmail internet software]]></category>

		<guid isPermaLink="false">http://www.huginn.com/knuth/blog/?p=227</guid>
		<description><![CDATA[The blog Time! reminds us about the capabilities of Gmail.
The full article is here&#8230;
10. Change Gmail&#8217;s look entirely with themes
9. Launch video and audio chats, no Skype required
8. Back up your email from any system
7. See all the places where you&#8217;re signed in, and remotely sign out
6. Serve as a central, synchronized, smarter contact list
5. [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://ajabgajab.blogspot.com/2008/12/10-things-to-realize-with-gmail.html&amp;title=10%20things%20to%20realize%20with%20Gmail" target="_blank">blog Time!</a> reminds us about the capabilities of Gmail.</p>
<p>The <a href="http://lifehacker.com/5103016/top-10-things-you-forgot-gmail-can-do" target="_blank">full article is here</a>&#8230;</p>
<p>10. Change Gmail&#8217;s look entirely with themes<br />
9. Launch video and audio chats, no Skype required<br />
8. Back up your email from any system<br />
7. See all the places where you&#8217;re signed in, and remotely sign out<br />
6. Serve as a central, synchronized, smarter contact list<br />
5. Consolidate all your email accounts<br />
4. Help friends find their own Gmail messages or bookmark your own<br />
3. Keep your Gmail account(s) on your desktop<br />
2. Give you total search power<br />
1. Do much, much more with Gmail Labs experimental features</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huginn.com/knuth/blog/2009/02/03/top-10-things-you-forgot-gmail-can-do/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
