<?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; Variables</title>
	<atom:link href="http://certainscripts.com/tag/variables/feed/" rel="self" type="application/rss+xml" />
	<link>http://certainscripts.com</link>
	<description>Computers and Scripts for the Pro</description>
	<lastBuildDate>Wed, 17 Aug 2011 10:08:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title></title>
		<link>http://certainscripts.com/2010/01/30/515/</link>
		<comments>http://certainscripts.com/2010/01/30/515/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 18:12:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Cgi Application]]></category>
		<category><![CDATA[Cgi Script]]></category>
		<category><![CDATA[Client Web]]></category>
		<category><![CDATA[Configuration Utilities]]></category>
		<category><![CDATA[Design Parameters]]></category>
		<category><![CDATA[File Permissions]]></category>
		<category><![CDATA[Mysql Database]]></category>
		<category><![CDATA[Necessary Files]]></category>
		<category><![CDATA[Passwords]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Productive Activities]]></category>
		<category><![CDATA[Professional Websites]]></category>
		<category><![CDATA[Relevant Urls]]></category>
		<category><![CDATA[Script Installation]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Technical Expertise]]></category>
		<category><![CDATA[Time Energy]]></category>
		<category><![CDATA[Variables]]></category>
		<category><![CDATA[Web Host]]></category>
		<category><![CDATA[Web Server]]></category>

		<guid isPermaLink="false">http://certainscripts.com/2010/01/30/515/</guid>
		<description><![CDATA[David H. Urmann asked: Website script is a process of building professional websites. However, developing and installing scripts on a Web server can offer difficulties to those who lack technical expertise. Acquiring script installation services can save time, energy, and money. If you have PHP or CGI script that you want to be installed on [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left; padding: 12px"><a href="http://certainscripts.com/wp-content/uploads/cc/Scripts5.jpg"><img src="/wp-content/uploads/cc/Scripts5.jpg" title='Scripts' alt='Scripts' /></a></div>
<div><em><strong>David H. Urmann</strong> asked: </em><br/><br/><br/>Website script is a process of building professional websites. However, developing and installing scripts on a Web server can offer difficulties to those who lack technical expertise. Acquiring script installation services can save time, energy, and money.</p>
<p>If you have PHP or CGI script that you want to be installed on your web server but you don&#8217;t have enough time and tools to do it, ask the assistance of a script installation service company. They can install any script that is written in Php, perl, or cgi and makes use of the MySQL database. With Perl, you can avail of the language for free on the Internet. Almost all UNIX devices have Perl already integrated. With Mac or Windows, one has to download the newest release of Perl and set it up it on your device. Script installation is ideal for reading through loads of documentation and configuration of variables. It also works out the design parameters to install Php or Cgi application. You can utilize your valuable time in other productive activities like marketing your website.  </p>
<p>The script installation provides these services:<br />
?	They configure all the variables according to their client web host parameters.<br />
?	They upload necessary files with FTP client to their customer&#8217;s web host.<br />
?	They set up all the file permissions that will ensure proper logging and script functioning.<br />
?	They test all the scripts functions that include usage, email capabilities, HTML output accuracy, configuration utilities purpose, etc.</p>
<p>Things that you can expect from a Script Installation Service:<br />
?	You will be certain that your script will be installed in a fast, timely, and secured manner.<br />
?	Your script will be bedded in as designed by the author.<br />
?	After the installation is completed, they will send you an email specifying the work performed, the relevant URLs, directories, script passwords, etc.<br />
?	In case the script installation service will not be competent enough to make your script work, you payments will be refunded. </p>
<p>Requirements that the script installation service may ask you:<br />
?	Domain name<br />
?	Send the script as provided by the script author in a zip, rar, or tar format.<br />
?	The FTP and the Control panel login details of your site.<br />
?	The folder or URL in which the script need to be installed.</p>
<p>The website optimization services scripts are comparatively small pieces of programming code that is intended to add definite function to a website.  Nearly all modern websites will not perform accurately without any scripts. They would definitely not be able to provide the range of user improvements. Scripts come in different forms and sizes and give an enormous collection of functions, some for the advantage of the visitors and some for the webmaster. Unlike PC software, most of these scripts don&#8217;t go with simple install wizards or help screens. This makes them very difficult to install and set up. </p>
<p>Scripts are also often less forbearing of the many configurations web hosts use on their web servers. Scripts not installed correctly on certain web hosts, or scripts already installed but doesn&#8217;t run as it should be, can give the webmaster some troubles. Some scripts function perfectly on some web hosts yet fail to operate on other web hosting providers. In script installation, one really needs to be well knowledgeable of technical matters in addition patience and experience. The best solution is to take advantage of the Script Installation Service. They will make your life easier and your website impressive.<br/><br/><a href='http://www.ebayatchristmas.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/270979510939_0.jpg" alt="tummy-tuck-miracle-slimming-system-small-to-medium-size-10-or-less" 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=270979510939&amp;ipn=psmain&amp;icep_vectorid=229466&amp;kwid=902099&amp;mtid=824&amp;kw=rss" target="_blank" rel="nofollow"><strong>Tummy Tuck Miracle Slimming System  Small to Medium size 10 or less</strong></a><br />
      <span style="color:#FF0000;font-weight:bold">US $53.00</span> <span style="font-weight:bold"> (15 Bids)</span><br />
      <span style="font-weight:bold">
 End Date: Wednesday May-23-2012 13:35:24 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%3D270979510939%26ssPageName%3DRSS%3AB%3ASRCH%3AUS%3A104" rel="nofollow" target="_blank">Add to watch list</a>
    </td>
  </tr>
</table>

<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/290713863639_0.jpg" alt="t-tapp-total-workout-two-dvd-set" 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=290713863639&amp;ipn=psmain&amp;icep_vectorid=229466&amp;kwid=902099&amp;mtid=824&amp;kw=rss" target="_blank" rel="nofollow"><strong>T-Tapp Total Workout (TWO) DVD Set</strong></a><br />
      <span style="color:#FF0000;font-weight:bold">US $76.80</span> <span style="font-weight:bold"> (4 Bids)</span><br />
      <span style="font-weight:bold">
 End Date: Wednesday May-23-2012 15:31:37 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%3D290713863639%26ssPageName%3DRSS%3AB%3ASRCH%3AUS%3A104" rel="nofollow" target="_blank">Add to watch list</a>
    </td>
  </tr>
</table>


</div>
http://www.ebayatchristmas.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=41a353c156083206c8aa7fcf78ba086bd93f51a79df71e4f6b59b7a2e6a0b270628eb8a81994f9328df503848eb804ba170dcc0a05722a8174820af62f1edaffd158750b758efc2a8d5662c2ed099c0e23fb29b85599d736490ce4e3934b61056e1d696a98b3610b47ae83bd95050f7ba610b2a0d5921143fabd1bc65f393b01a3a03126384837a6948017c65a54c6ce188fff31f1a8e55838ae1a3f24e613bfbcd7bfbbc33733ec50913b1c38cc909fb89eb42cdbf019d50bd7f2a7241c5797e61991657de690631b199a9dbcb6013c904d72c98d60692705ee8c793490478a92eb627d06be16e9e04f459164455b267df5175ba3f1b1e137a3148102246aba0a2a88e7448f7bfcb4524047e82ca309678706cb41f16276ce96f6487da2ad951bbb788ef5bcac564f83bd1fd3b2a4fc8ba8c6a858d3ca0fa62e00dfbc18c1220fa8ffb1dd176d82f00d0584f4ac5de9e3bc53adbfd197c3d08cb5aa1f2f0579c0506dc82ff133489583bb9ae6e1d78defa779e6f44d1c6df31c7aa964816087052d2dc33452881317da7019e381a77b7b671483ab526c5a484a93c961e786909f3dd6c19947acac5d8e8b36611ee735fadf64af692544adc14e78d213f9365b244f99e58b89da9504898699f37e7deed34ab11da5d0311723da93085368930852b6[[T_F]]</h1>
</div>
]]></content:encoded>
			<wfw:commentRss>http://certainscripts.com/2010/01/30/515/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title></title>
		<link>http://certainscripts.com/2009/12/27/447/</link>
		<comments>http://certainscripts.com/2009/12/27/447/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 09:55:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Database Log]]></category>
		<category><![CDATA[Dollar Signs]]></category>
		<category><![CDATA[Increment]]></category>
		<category><![CDATA[Line 1]]></category>
		<category><![CDATA[Mysql Database]]></category>
		<category><![CDATA[No Doubt]]></category>
		<category><![CDATA[Page Names]]></category>
		<category><![CDATA[Page Views]]></category>
		<category><![CDATA[Php Script]]></category>
		<category><![CDATA[Php Scripts]]></category>
		<category><![CDATA[Php Web]]></category>
		<category><![CDATA[Script Line]]></category>
		<category><![CDATA[Semicolon]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Variables]]></category>
		<category><![CDATA[Web Page Copy]]></category>

		<guid isPermaLink="false">http://certainscripts.com/2009/12/27/447/</guid>
		<description><![CDATA[Bill Hamilton asked: Self-Taught PHP/MYSQL: a simple Page Counter This article is a short introduction to PHP and MySQL using the example of a simple page counter. I will illustrate creating the database in MySQL, connecting to the database from the PHP script, querying the database for information, displaying the information in a web page, [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left; padding: 12px"><a href="http://certainscripts.com/wp-content/uploads/cc/PHP11.jpg"><img src="/wp-content/uploads/cc/PHP11.jpg" title='PHP' alt='PHP' /></a></div>
<div><em><strong>Bill Hamilton</strong> asked: </em><br/><br/><br/>Self-Taught PHP/MYSQL: a simple Page Counter</p>
<p>This article is a short introduction to PHP and MySQL using the example of a simple page counter.  I will illustrate creating the database in MySQL, connecting to the database from the PHP script, querying the database for information, displaying the information in a web page, and writing the information back to the database.  As always, the fastest way to master the process is to jump right in with the code, look it over and use it.  We’ll make a MySQL database to store the page names and the number of page views,  and use PHP to increment and display the count on a web page.  First here is all of the code, and then I’ll go over it in detail:</p>
<p>This goes into a file called “pagecounter.php”</p>
<p>You’ll no doubt have noticed that the script “includes” another, so without further delay here is the “connect.php” file:</p>
<p>The pagecounter.php script needs a database to operate on.  Just briefly, here’s how to create it.</p>
<p>Creating the database:</p>
<p>Log in to MySQL at your Unix prompt (which might be #):</p>
<p># mysql  –uYourUserName –pYourPassword</p>
<p>At the MySQL prompt enter these commands:</p>
<p>mysql> create database pages;</p>
<p>mysql> use pages;</p>
<p>mysql> create table counter (pagename varchar(60),hits int, stamp timestamp);</p>
<p>mysql> quit;</p>
<p>Naturally you can create the database and table with utilities or web-based interfaces, but doesn’t it seem simpler to just enter three commands?</p>
<p>If you just wanted some code for a simple counter, this is all you need.  Put  this text  into an SHTML web page, or this text into a php web page, copy the above two files into the same directory, and you’re done.</p>
<p>The first thing you’ll have noticed about the scripts are the dollar signs ($).  All variables in PHP scripts start with a $.  Anything starting with a $ is a variable.  Instructions &#8211; statements and functions – end with a semicolon (;).   starts the script and it ends with .  When your script is hosed, look at these first.</p>
<p>Details about the pagecounter.php script</p>
<p>Line 1</p>
<p> include_once &#8220;connect.php”; </p>
<p>The first line in the script is just what it appears to be. It includes whatever is in the file “connect.php”.  The “_once” means that it’s only included once, even if you had the line twice in the script.  The reason I’ve separated it out is that it’s all the connection stuff to the database.  All the php/Mysql scripts will need it, it’s always the same, so you can just put it by itself and use the include function.</p>
<p>Line 2</p>
<p>$pagename=$_SERVER["REQUEST_URI"];</p>
<p>The next line creates a variable called $pagename and sets the value to a special pre-defined variable $_SERVER["REQUEST_URI"].  The brackets [ ] are used by arrays in php.  $_SERVER is a pre-defined array of headers and paths.  This particular one is the name of the file that accesses the script, i.e., the name of the page that the counter is in.</p>
<p>Line 3</p>
<p>$result=mysql_query(&#8220;Select * from counter where pagename=&#8217;$pagename&#8217;&#8221;);</p>
<p>All the database work is done with mysql_query, which sends an SQL command string to MySQL, after you’ve already logged in and connected to the database with the connect.php script.   &#8220;Select * from counter where pagename=&#8217;$pagename&#8217;&#8221; replaces $pagename with its value.  But there’s a quirk here – the single quotes have to be inside the double quotes. If I had it the other way around, with the single quotes outside, the query would be for the text “$pagename” instead of the value.  $result is the result set.  It can be any name but in tutorial scripts it’s always $result, so it is here.</p>
<p>Line 4</p>
<p>if (mysql_num_rows($result)==0){ </p>
<p>The fourth line is the php version of “if-then”.  It simply checks whether there are any results from the query in line 3.  The syntax is representative of php coding in general so it’s a good place to start.  The curly brackets { } are used to group instructions.  The curved brackets ( ) are used for the “if” condition.  Everything inside the curly brackets will be executed if the “if” condition is true.  PHP uses double equals == for comparison; if I had used only a single equal sign it would try to set mysql_num_rows to 0, which wouldn’t work for our purposes. A missing equal sign is the second thing to look for when your script is hosed and it’s not missing a $ or ;.</p>
<p>Line 5</p>
<p>mysql_query(&#8220;insert into counter (pagename,hits) values (&#8216;$pagename&#8217;,&#8217;0&#8242;)&#8221;);   }</p>
<p>Inside the brackets, which only happens when line 4 finds no records of the page we searched for, the instruction creates a new record with the page’s name and zero for the hit count.  Although mysql_query is a function, it doesn’t necessarily need a variable $result= in front of it.  That’s optional in PHP if you don’t care about the return value.</p>
<p>The closing curly bracket } from the “if” statement comes here, since we only needed one statement to create our record.</p>
<p>Line 6</p>
<p>$count=mysql_result($result, 0, &#8220;hits&#8221;);   </p>
<p>mysql_result fetches the actual data from the result set.  You specify the result set (from mysql_query), the row number (0), and the column name (“hits”).  This is a little confusing at first since to get here took four steps: 1) log into MySQL, 2) connect to the database, 3) select data from the table, and 4) fetch a particular piece of the data.   Putting the repetitive first two steps into an include file where you can more or less forget about them makes it more intuitive: use SQL to select data with mysql_query, and then retrieve data with mysql_result.</p>
<p>Line 7</p>
<p>$count=$count + 1; </p>
<p>Just adds one to the count variable.  This is the count of the page views of the page requesting the script.</p>
<p>Line 8</p>
<p>mysql_query (&#8220;update counter set hits=$count where pagename=&#8217;$pagename&#8217;&#8221;);</p>
<p>As with Line 5 we send an SQL command directly to MySQL.  This one updates the count for just the page matching the variable $pagename.</p>
<p>Line 9</p>
<p>echo &#8220;Page Count: &#8220;.$count; </p>
<p>The echo function writes text to a web page, in this case the text “Page Count: “ followed by whatever value is in $count.  The period in between is the PHP concatenation operator: it simply adds the two strings together.  Echo sees it as one string and outputs it.</p>
<p>Details about the connect.php script: </p>
<p>All this script does is connect to the MySQL server and select the Database.</p>
<p>Line 1</p>
<p>$host=&#8221;localhost&#8221;;$user=&#8221;YourUserName&#8221;;$password=&#8221;YourPassword&#8221;;$dbase=&#8221;pages&#8221;;</p>
<p>These are the inputs for the connect and select_db functions.  Naturally you can insert the values into the functions on line 3 and 4 and eliminate this line, but it’s simpler to change later (when you re-use this code for example) if you just list them out at the top.  The host and dbase won’t need to be changed in this example.  The user and password are specific to your MySQL setup.  As shown here you can put as many statements on one line as you want; PHP doesn’t care.</p>
<p>Line 2</p>
<p>// change the user and password to your MySQL user and password</p>
<p>The double slashes // denote a comment line that is ignored by php. Each comment line needs the slashes.</p>
<p>Line 3</p>
<p>$connect = mysql_connect($host,$user,$password); </p>
<p>You log into your MySQL with the mysql_connect command.   You would change the host from “localhost” to the database server if you were accessing MySQL from another server, provided you’ve set up the access rights for the specified user/</p>
<p>Line 4</p>
<p>mysql_select_db($dbase,$connect); </p>
<p>Since we can have multiple databases in the MySQL server, we have to select one before sending SQL statements to it. As I mentioned earlier, this part is repetitive, and once it’s in this file and working you can forget about it.</p>
<p>In this tutorial we’ve examined a simple but functional web page counter implemented with PHP/MySQL.  We examined the basic syntax of PHP statements and variables, the PHP “include” function and “if” control function, and the fundamental PHP MySQL functions mysql_connect, mysql_select_db, mysql_query, mysql_num_rows, and mysql_result.  For further reference the reader should bookmark http://dev.mysql.com/doc/refman/6.0/en/index.html and http://us.php.net/manual/en/funcref.php .</p>
<p>Bill Hamilton is a former Database Administrator for United News and Media, and VNU inc.  He currently operates several php/mysql driven websites including Gemstones and Beads<br/><br/><a href='http://www.senior-citizen-information-services.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/270979510939_0.jpg" alt="tummy-tuck-miracle-slimming-system-small-to-medium-size-10-or-less" 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=270979510939&amp;ipn=psmain&amp;icep_vectorid=229466&amp;kwid=902099&amp;mtid=824&amp;kw=rss" target="_blank" rel="nofollow"><strong>Tummy Tuck Miracle Slimming System  Small to Medium size 10 or less</strong></a><br />
      <span style="color:#FF0000;font-weight:bold">US $53.00</span> <span style="font-weight:bold"> (15 Bids)</span><br />
      <span style="font-weight:bold">
 End Date: Wednesday May-23-2012 13:35:24 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%3D270979510939%26ssPageName%3DRSS%3AB%3ASRCH%3AUS%3A104" rel="nofollow" target="_blank">Add to watch list</a>
    </td>
  </tr>
</table>

<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/290713863639_0.jpg" alt="t-tapp-total-workout-two-dvd-set" 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=290713863639&amp;ipn=psmain&amp;icep_vectorid=229466&amp;kwid=902099&amp;mtid=824&amp;kw=rss" target="_blank" rel="nofollow"><strong>T-Tapp Total Workout (TWO) DVD Set</strong></a><br />
      <span style="color:#FF0000;font-weight:bold">US $76.80</span> <span style="font-weight:bold"> (4 Bids)</span><br />
      <span style="font-weight:bold">
 End Date: Wednesday May-23-2012 15:31:37 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%3D290713863639%26ssPageName%3DRSS%3AB%3ASRCH%3AUS%3A104" rel="nofollow" target="_blank">Add to watch list</a>
    </td>
  </tr>
</table>


</div>
http://www.senior-citizen-information-services.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=752597855e4544bfc0a4299ded1a8cb6176965b22de2261b5f8f93711284cf5b6eb6dab898a35dceb041ac82b6db92df85b033bfa14ffed9635fb1c7fd961fdc6b0741bd40b6d7feb1046e2c79c68b37ec5de8981ffa05c7394a628c8b0369a36f71397e9acd69bd38f6acd280a1357ce7b2cea9908e6d1c5c1e3da8345dfc2cdd2bc5865d3bd8e682a3aa6c54cadcdb2e95132777adc02f2f9a3770d3da160814aa0834b35375986fe34a0f0c8e6e57dbcbdd9601fd213dfc02980c1863a0d2259451cdd2a4272f2daf5189623518147942ebc5745f0bb5da94b7101473be141056cd328a22dcdc3971a548718fc7484e251cec48d869c4e5a351afe37d00bffeba6302356cd6e3000a72d27b980253abb4e0f3e45e44faa2c0720b9699a12e8f4cbec390f8607bb789ed1bf9b7307e9aff3a20ed96af1a64daed1e6928fbfa97ae1f640651e6fd6a82c12d57ea05546df32ed3ca61c49ba75e423cef28836b73f423b034637151c2efb63dc32256e78f1515dd49642512acd57eb1067116896c20239845deb4d809f00b985dacd55d7c69a3aac30033c34dbd13846864a68a95d006289924f2f310b6bdc7699665c05e1562f579e122f029375a0f8c59c71de30c6464f7bdeea1317db2adc74a49dae77e852991d0400a145ea9c69d6da9c69cb3[[T_F]]</h1>
</div>
]]></content:encoded>
			<wfw:commentRss>http://certainscripts.com/2009/12/27/447/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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/270979510939_0.jpg" alt="tummy-tuck-miracle-slimming-system-small-to-medium-size-10-or-less" 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=270979510939&amp;ipn=psmain&amp;icep_vectorid=229466&amp;kwid=902099&amp;mtid=824&amp;kw=rss" target="_blank" rel="nofollow"><strong>Tummy Tuck Miracle Slimming System  Small to Medium size 10 or less</strong></a><br />
      <span style="color:#FF0000;font-weight:bold">US $53.00</span> <span style="font-weight:bold"> (15 Bids)</span><br />
      <span style="font-weight:bold">
 End Date: Wednesday May-23-2012 13:35:24 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%3D270979510939%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=752597855e4544bfc0a4299ded1a8cb6176965b22de2261b5f8f93711284cf5b6eb6dab898a35dceb041ac82b6db92df85b033bfa14ffed9635fb1c7fd961fdc6b0741bd40b6d7feb1046e2c79c68b37ec5de8981ffa05c7394a628c8b0369a36f71397e9acd69bd38f6acd280a1357ce7b2cea9908e6d1c5c1e3da8345dfc2cdd2bc5865d3bd8e682a3aa6c54cadcdb2e95132777adc02f2f9a3770d3da160814aa0834b35375986fe34a0f0c8e6e57dbcbdd9601fd213dfc02980c1863a0d2259451cdd2a4272f2daf5189623518147942ebc5745f0bb5da94b7101473be141056cd328a22dcdc3971a548718fc7484e251cec48d869c4e5a351afe37d00bffeba6302356cd6e3000a72d27b980253abb4e0f3e45e44faa2c0720b9699a12e8f4cbec390f8607bb789ed1bf9b7307e9aff3a20ed96af1a64daed1e6928fbfa97ae1f640651e6fd6a82c12d57ea05546df32ed3ca61c49ba75e423cef28836b73f423b034637151c2efb63dc32256e78f1515dd49642512acd57eb1067116896c20239845deb4d809f00b985dacd55d7c69a3aac30033c34dbd13846864a68a95d006289924f2f310b6bdc7699665c05e1562f579e122f029375a0f8c59c71de30c6464f7bdeea1317db2adc74a49dae77e852991d0400a145ea9c69d6da9c69cb3[[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>
		<item>
		<title>Just upgraded PHP, and now scripts are not working?</title>
		<link>http://certainscripts.com/2008/06/03/just-upgraded-php-and-now-scripts-are-not-working/</link>
		<comments>http://certainscripts.com/2008/06/03/just-upgraded-php-and-now-scripts-are-not-working/#comments</comments>
		<pubDate>Tue, 03 Jun 2008 04:14:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming & Design]]></category>
		<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Dedicated Server]]></category>
		<category><![CDATA[Form Script]]></category>
		<category><![CDATA[Login Php]]></category>
		<category><![CDATA[Login Scripts]]></category>
		<category><![CDATA[Php Script]]></category>
		<category><![CDATA[Php Scripts]]></category>
		<category><![CDATA[Variables]]></category>

		<guid isPermaLink="false">http://certainscripts.com/2008/06/03/just-upgraded-php-and-now-scripts-are-not-working/</guid>
		<description><![CDATA[Tom Heston asked: I just upgraded to the latest version of PHP by switching to a new dedicated server. Several of my websites have login PHP scripts. These no longer work. It appears that the variables are not being passed from the form to the php script. Is there some simple way to fix this? [...]]]></description>
			<content:encoded><![CDATA[<div style="float:left; padding: 12px"><a href="http://certainscripts.com/wp-content/uploads/cc/Php_Scripts8.jpg"><img src="/wp-content/uploads/cc/Php_Scripts8.jpg" title='Php Scripts' alt='Php Scripts' /></a></div>
<div><em><strong>Tom Heston</strong> asked: </em><br/><br/><br/>I just upgraded to the latest version of PHP by switching to a new dedicated server. Several of my websites have login PHP scripts. These no longer work. It appears that the variables are not being passed from the form to the php script. </p>
<p>Is there some simple way to fix this?<br />
was running 4.3.2 now 5.1.4</p>
<p>vBulletin works, but my own scripts have bugs, the major one being an inability to pass variables from a form (html page) to a php script.<br/><br/><a href='http://www.seniorcitizenissues.com'>http://www.seniorcitizenissues.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=768293be437ae6f65dba1b89bed29745e948cb76f862d88cc5c972f7a6b421c0c9bfa4acf4328461be02793abfa4faa5f37e1efdfa41edb842b9fd83ef7795871054c27d423f86edbe53c9998e7c36ffe9056c24d2341363dc7e8a89315d487a4ff64c4db4a1487d5b2fb926327a7f452bf0a1a89231b05905567519d76465782928e06be4dce32bb2b970b0eae3f1f92fb8c806c69fd26f0f992d0811d124e98bf0e98cf40004db67a60c2b0ffba7ae901c688f36708845e9d67cc8890b5556d92562c206dd6af131253d040c59e00aeb827f5582eaa0d1c69c6a204aebd5bae0b2fa01dc195ea6eb93c562cbc328da06415334f66466e054f14de1f8cabc39b8bdaed3cd92360c4b7aee8837253bb2098b8cba90521e4cadcc4eb6611d21c3f97a75ac416526cea99963f8d95d0465b9348d36f4d8bfe9e0f937a8872ff415389f8886ea205ab5c73a32b3c39b6ade148b649b8ce6a4f4e7bb829d2818324ef7675affd74ace3983afdf9d656b07b377e65b65403290734e905dfa61aa69a6a6f2f32ec00db88e851c489b6fabe65e5e6681affe0c731c383d873e56d0b1a7a80ae1f6ae709b9b6ab9bc015629d002cde853985e12739af6794fe524ce016c1378ded2bcbeeda2327eb1aec4494ad9e47d862a92d0f9facbe8958c4254958c438a[[T_F]]</h1>
</div>
]]></content:encoded>
			<wfw:commentRss>http://certainscripts.com/2008/06/03/just-upgraded-php-and-now-scripts-are-not-working/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

