<?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>Certain Scripts &#187; Angle Brackets</title>
	<atom:link href="http://certainscripts.com/tag/angle-brackets/feed/" rel="self" type="application/rss+xml" />
	<link>http://certainscripts.com</link>
	<description>Computers and Scripts for the Pro</description>
	<lastBuildDate>Mon, 07 Jun 2010 15:09:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Automatically Running a Script From Within a Web Page</title>
		<link>http://certainscripts.com/2008/11/04/automatically-running-a-script-from-within-a-web-page/</link>
		<comments>http://certainscripts.com/2008/11/04/automatically-running-a-script-from-within-a-web-page/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 01:35:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Angle Brackets]]></category>
		<category><![CDATA[Ascii Files]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Cgi Script]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Content Management Systems]]></category>
		<category><![CDATA[Content Type]]></category>
		<category><![CDATA[Html Page]]></category>
		<category><![CDATA[Html Script]]></category>
		<category><![CDATA[Img Src]]></category>
		<category><![CDATA[Interaction]]></category>
		<category><![CDATA[Loaded]]></category>
		<category><![CDATA[Running]]></category>
		<category><![CDATA[Script Cgi]]></category>
		<category><![CDATA[Square Brackets]]></category>
		<category><![CDATA[Variables]]></category>
		<category><![CDATA[Web Page]]></category>

		<guid isPermaLink="false">http://certainscripts.com/2008/07/27/automatically-running-a-script-from-within-a-web-page/</guid>
		<description><![CDATA[John Dixon asked: It&#8217;s very simple to run a script (for example, a CGI script) by clicking a button in a form:(Note: For display purposes, the code snippets in this article use square brackets &#8216;[' instead of angle brackets. You will need to change these to angle brackets in order to use the code.)[form name="form1" [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left; padding: 12px"><a href="http://certainscripts.com/wp-content/uploads/cc/Form_Script4.jpg"><img title="Form Script" src="/wp-content/uploads/cc/Form_Script4.jpg" alt="Form Script" /></a></div>
<div><em><strong>John Dixon</strong> asked: </em></p>
<p>It&#8217;s very simple to run a script (for example, a CGI script) by clicking a button in a form:(Note: For display purposes, the code snippets in this article use square brackets &#8216;[' instead of angle brackets. You will need to change these to angle brackets in order to use the code.)[form name="form1" method="post" action="/cgi-bin/updatePage.cgi"]::[/form]Sometimes, however, you might need to run a script automatically from within a web page without requiring the user to perform an action. You might want to do this if, for example, you have one or more variables that have been generated perhaps by another script, which you need to process without user interaction.If you insert the following code into an HTML page, the script (in our case, updatePage.cgi) will be automatically executed when the web page is loaded into a browser.[img src="/cgi-bin/updatePage.cgi" height="1" width="1"]In order to ensure that a broken link is not generated by the cgi script itself, include the following code in the cgi script itself.print &#8220;Content-type: image/gif&#8221;; open IN, &#8216;image.gif&#8217; or die &#8220;Cannot open: $!&#8221;; binmode IN; print while ; close IN;There also needs to be an image called image.gif in the same directory (cgi-bin) as the cgi script.I often use this technique to automatically perform certain text processing activities in my content management systems. For example, I might have one or more ASCII files that need to be automatically updated at the end of an operation, but I don&#8217;t want to force the user to click, for example, an update button.</p>
<p><a href="http://www.runescapetreasure.com"><div>
<table width="100%" border="0" cellspacing="5" cellpadding="5">
  <tr>
    <td width="100" align="left"><a href="" rel="nofollow" target="_blank"><img src="http://certainscripts.com/images/e/140449817449_0.jpg" alt="ab-circle-pro" border="0" /></a></td>
    <td>
      <a href="http://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&amp;toolid=10005&amp;campid=5335903440&amp;customid=Computers&amp;icep_item=140449817449&amp;ipn=psmain&amp;icep_vectorid=238401&amp;kwid=902099&amp;mtid=824&amp;kw=rss" target="_blank" rel="nofollow"><strong>Ab Circle Pro</strong></a><br />
      <span style="color:#FF0000;font-weight:bold">US $66.00</span> <span style="font-weight:bold"> (3 Bids)</span><br />
      <span style="font-weight:bold">
 End Date: Wednesday Sep-08-2010 16:30:20 PDT
</span><br />
        <a href="http://rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=4&amp;toolid=10005&amp;campid=5335903440&amp;customid=Computers&amp;mpre=http%3A%2F%2Fcgi1.ebay.com%2Fws%2FeBayISAPI.dll%3FMfcISAPICommand%3DMakeTrack%26item%3D140449817449%26ssPageName%3DRSS%3AB%3ASRCH%3AUS%3A104" rel="nofollow" target="_blank">Add to watch list</a>
    </td>
  </tr>
</table>


</div>
http://www.runescapetreasure.com</a></div>
<div class="tf_1" style="position:absolute;width:120px;height:9px;overflow:hidden;">
<h1 style="font-size:10px;"><br class="tf_2" /><br class="tf_2" />[[T_F]]<a href="http://www.TraceFusion.com/">Data Leak Prevention &#8211; Data Security Solutions &#8211; Information Theft Protection, Detection and Prevention Software Products</a>tracefusion_signature=069d63de7f89d2b2f86632438cf22b22dd9330e84efe3959776dae6ec24c8cd4d94b81e9e2fb2afceaa4938b8ac1d4a387a08a05d4914be4738fc81b72e98c69608034c03f2b1349dc60048645d31ceea64592516f5466b1d92fea5b77d5c2a55937b7b520f4744f0ac9820c2832b78358e7e9e05372192b2f6950693a7ae0e2e1c415b22b6708ce486d1cc72c878161cc712e0c043d31ccc55ac6faa803f041a7f051525ca89cdf9db6ef2e91c1d6f1d07efd228a3fa0ad52fda27b3d925a7e5f7d9e3610abf7074194cb4ef52ffcbb20d432d7dc36df70bb182980e6f2ed721dffcb28716a170fae3ef22369dc461478adc4fc248261ee7ca8b89cbf3df3898c7156c3cacbd8f4ce5c5f1377301decc15965c0636781c5a11c445fe90cbdde728be7bde9aa14cfb4f5ed1caf4f58e3fa814087abd9ef0add62ad49bf7c9effff08616669fed8a26625a095db36d5f7f23960df31ff3cf986bb1823024dcdf50b87f90c768093796a19ed217b4c3987b3d82100833d989c66445481a13992674fb60ab58af52732a2ec00cb1de4c61d6f51b906b7b790282f5b0478c46a6bbc657ddb038b0b2daa6d097b6119b0a8438bd69ee590c272ecbf30ac78bcc29af7e15e4e6e1691f8242b0cfb37a9424a13a3ae3f3d4f92cbf05ce4d05a5c99100907f3540907f2b7[[T_F]]</h1>
</div>
]]></content:encoded>
			<wfw:commentRss>http://certainscripts.com/2008/11/04/automatically-running-a-script-from-within-a-web-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
