<?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>Theme Heven &#187; Tutorial</title>
	<atom:link href="http://www.themeheven.com/category/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.themeheven.com</link>
	<description>WordPress, Ajax, Jquery, Web 2.0, PHP, Tutorials, Tips, Tricks</description>
	<lastBuildDate>Wed, 13 Jan 2010 09:37:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>10 Simple PHP Login Sytem Tutorial</title>
		<link>http://www.themeheven.com/2010/01/10-simple-php-login-sytem-tutorial/</link>
		<comments>http://www.themeheven.com/2010/01/10-simple-php-login-sytem-tutorial/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 09:29:47 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[HOW TO]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=279</guid>
		<description><![CDATA[Login System is the First Part of Security system in web programming. In this tutorial I am going to show you the collection of various methos and types of login system. I will give a right choice for your system and you can understand more about login.
More here
See Also Following Topics:

An Introduction to Object Oriented [...]]]></description>
			<content:encoded><![CDATA[<p>Login System is the First Part of Security system in web programming. In this tutorial I am going to show you the collection of various methos and types of login system. I will give a right choice for your system and you can understand more about login.</p>
<p><a href="http://www.jagadishwor.com.np/2009/12/10-simple-php-login-sytem-tutorial/">More here</a><br />
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2010/01/an-introduction-to-object-oriented-php/" title="An Introduction to Object Oriented PHP">An Introduction to Object Oriented PHP</a></li>
<li><a href="http://www.themeheven.com/2009/10/php-image-file-upload-tutorial/" title="PHP Image File Upload Tutorial">PHP Image File Upload Tutorial</a></li>
<li><a href="http://www.themeheven.com/2009/08/php-redirect-to-another-pageurl-script/" title="PHP Redirect to another Page/URL Script">PHP Redirect to another Page/URL Script</a></li>
<li><a href="http://www.themeheven.com/2009/08/delete-multiple-records-using-checkbox-with-select-all-buttons/" title="Delete Multiple Records Using Checkbox With Select All Buttons">Delete Multiple Records Using Checkbox With Select All Buttons</a></li>
<li><a href="http://www.themeheven.com/2009/06/advanced-php-query-function/" title="Advanced PHP Query function">Advanced PHP Query function</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2010/01/10-simple-php-login-sytem-tutorial/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Image File Upload Tutorial</title>
		<link>http://www.themeheven.com/2009/10/php-image-file-upload-tutorial/</link>
		<comments>http://www.themeheven.com/2009/10/php-image-file-upload-tutorial/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 08:41:53 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[HOW TO]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=268</guid>
		<description><![CDATA[In this tutorial you will learn to upload image file using PHP. Together you will learn to restrict file type. In this tutorial I am showing you example in which you can upload only jpg/jpeg images. It a very easy method I am going to show you and hope you will understand.
Start With Form :
&#60;form [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial you will learn to upload image file using PHP. Together you will learn to restrict file type. In this tutorial I am showing you example in which you can upload only jpg/jpeg images. It a very easy method I am going to show you and hope you will understand.</p>
<p>Start With Form :</p>
<p><code>&lt;form action="" method="post" enctype="multipart/form-data" name="form1"&gt;&lt;p&gt;<br />
&lt;input name="fileImage" type="file" id="fileImage"&gt;<br />
&lt;/p&gt;&lt;p&gt;<br />
&lt;input name="save-image" type="submit" id="save-image" value="Upload Image"&gt;<br />
&lt;/p&gt;</p>
<p>&lt;/form&gt;</p>
<p></code></p>
<p>Upload Code:</p>
<p><code>&lt;?phpif(isset($_POST['save-image'])){//Line Use to check if the buttton was pressed.</p>
<p>$fileName=$_FILES['fileImage']['name'];</p>
<p>//Getting file name and assigning it to $fileName variable</p>
<p>$fileType=$_FILES['fileImage']['type'];</p>
<p>//Getting file type and assigning it to $filetype variable</p>
<p>$fileSize=$_FILES['fileImage']['size'];</p>
<p>//Getting file size and assigning it to $filesize;</p>
<p>$tmpName=$_FILES['fileImage']['tmp_name'];</p>
<p>//Getting temporary name of file and assigning it to $tmpName</p>
<p>$maxsize=1048576;</p>
<p>//Defining maximum file size to 1Mb</p>
<p>$uploadDir="upload/";</p>
<p>//Define upload directory</p>
<p>$filePath=$uploadDir.$fileName;</p>
<p>//Defining file path so that we can use it on move_uploaded_file function</p>
<p>if(($fileType=="image/jpg") || ($fileType=="image/jpeg") || ($fileType=="image/pjpeg")){</p>
<p>//Checking file type. Is the file jpg or not?</p>
<p>$result=move_uploaded_file($tmpName, $filePath);</p>
<p>//When file is jpg moving file to the upload directory from temp directory</p>
<p>}</p>
<p>if($result){</p>
<p>//If file move successfully then show message</p>
<p>echo "File Uploaded Successfully";</p>
<p>}else{</p>
<p>//If file is invalid display message</p>
<p>echo "Invalid File Format";</p>
<p>}</p>
<p>}</p>
<p>?&gt;</p>
<p></code></p>
<p>Full Code:</p>
<p><code>&lt;?phpif(isset($_POST['save-image'])){$fileName=$_FILES['fileImage']['name'];</p>
<p>$fileType=$_FILES['fileImage']['type'];</p>
<p>$fileSize=$_FILES['fileImage']['size'];</p>
<p>$tmpName=$_FILES['fileImage']['tmp_name'];</p>
<p>$maxsize=1048576;</p>
<p>$uploadDir="upload/";</p>
<p>$filePath=$uploadDir.$fileName;</p>
<p>if(($fileType=="image/jpg") || ($fileType=="image/jpeg") || ($fileType=="image/pjpeg")){</p>
<p>$result=move_uploaded_file($tmpName, $filePath);</p>
<p>}</p>
<p>if($result){</p>
<p>echo "File Uploaded Successfully";</p>
<p>}else{</p>
<p>echo "Invalid File Format";</p>
<p>}</p>
<p>}</p>
<p>?&gt;</p>
<p>&lt;html&gt;</p>
<p>&lt;head&gt;</p>
<p>&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;</p>
<p>&lt;title&gt;Upload Image&lt;/title&gt;</p>
<p>&lt;/head&gt;</p>
<p>&lt;body&gt;</p>
<p>&lt;form action="" method="post" enctype="multipart/form-data" name="form1"&gt;</p>
<p>&lt;p&gt;</p>
<p>&lt;input name="fileImage" type="file" id="fileImage"&gt;</p>
<p>&lt;/p&gt;</p>
<p>&lt;p&gt;</p>
<p>&lt;input name="save-image" type="submit" id="save-image" value="Upload Image"&gt;</p>
<p>&lt;/p&gt;</p>
<p>&lt;/form&gt;</p>
<p>&lt;/body&gt;</p>
<p>&lt;/html&gt;</p>
<p></code><br />
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2010/01/10-simple-php-login-sytem-tutorial/" title="10 Simple PHP Login Sytem Tutorial ">10 Simple PHP Login Sytem Tutorial </a></li>
<li><a href="http://www.themeheven.com/2010/01/an-introduction-to-object-oriented-php/" title="An Introduction to Object Oriented PHP">An Introduction to Object Oriented PHP</a></li>
<li><a href="http://www.themeheven.com/2009/08/php-redirect-to-another-pageurl-script/" title="PHP Redirect to another Page/URL Script">PHP Redirect to another Page/URL Script</a></li>
<li><a href="http://www.themeheven.com/2009/08/delete-multiple-records-using-checkbox-with-select-all-buttons/" title="Delete Multiple Records Using Checkbox With Select All Buttons">Delete Multiple Records Using Checkbox With Select All Buttons</a></li>
<li><a href="http://www.themeheven.com/2009/06/advanced-php-query-function/" title="Advanced PHP Query function">Advanced PHP Query function</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/10/php-image-file-upload-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Understanding Search Engine Models</title>
		<link>http://www.themeheven.com/2009/09/understanding-search-engine-models/</link>
		<comments>http://www.themeheven.com/2009/09/understanding-search-engine-models/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 17:40:06 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=264</guid>
		<description><![CDATA[To understand search engines and search engine marketing, one must first understand the search engine model. There are two fundamentally different types of search engine back ends: site directories and spidering search engines. Site directory databases are built by a person manually inputting data about websites. Most directories include a site’s url, title, and description [...]]]></description>
			<content:encoded><![CDATA[<p>To understand search engines and search engine marketing, one must first understand the search engine model. There are two fundamentally different types of search engine back ends: site directories and spidering search engines. Site directory databases are built by a person manually inputting data about websites. Most directories include a site’s url, title, and description in their database. Some directories include more information, such as keywords, owner’s name, visitor rankings and so on. Some directories will allow you to control your website’s information yourself others rely on editors that write the information to conform to the directory standards.</p>
<p>It is important to note that most directories include directory listings as an alterative to the search box for finding websites. A directory listing uses hierarchal groupings from general to specific to categorize a site.</p>
<p>Spidering search engines take a very different approach. They automate the updating of information in their database by using robots to continually read web pages. A search engine robot/spider/crawler acts much like a web browser, except that instead of a human looking at the web pages, the robot parses the page and adds the page’s content it’s database.</p>
<p>Many of the larger search engines will have both a directory and spidering search engine, e.g. yahoo.com, google.com, and allow visitors to select which they want to search. Note that many search engines do not have their own search technology and are contracting services from elsewhere. For example, Google’s spider SE is their own, but their directory is and Open Directory; additionally aol.com and netscape.com both use Google’s spider SE for their results.</p>
<p>There are a few other search engine models of interest. There are some search engines that combine results from other engines such as dogpile.com and mamma.com. There are also search engines that add extra information to searches such as Amazon’s alexa.com, which uses Google’s backend but adds data from its search bar regarding tracking traffic to the site.</p>
<p>Source: http://www.searchenginejournal.com/<br />
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2009/07/search-engine-optimization-strategies/" title="Search Engine Optimization Strategies">Search Engine Optimization Strategies</a></li>
<li><a href="http://www.themeheven.com/2009/06/web-2-0-and-seo/" title="Web 2.0 and SEO">Web 2.0 and SEO</a></li>
<li><a href="http://www.themeheven.com/2009/06/seo-tips-and-tricks/" title="SEO Tips and Tricks">SEO Tips and Tricks</a></li>
<li><a href="http://www.themeheven.com/2009/05/understanding-search-engine-developing-seo-friendly-site/" title="Understanding Search Engine, Developing SEO Friendly Site">Understanding Search Engine, Developing SEO Friendly Site</a></li>
<li><a href="http://www.themeheven.com/2009/03/wordpress-seo-expert-plugins/" title="WordPress SEO Expert Plugins">WordPress SEO Expert Plugins</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/09/understanding-search-engine-models/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>JavaScript Built in Object, Method, Properties &amp; Handling Events in browser</title>
		<link>http://www.themeheven.com/2009/08/javascript-built-in-object-method-properties-handling-events-in-browser/</link>
		<comments>http://www.themeheven.com/2009/08/javascript-built-in-object-method-properties-handling-events-in-browser/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 06:23:43 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[Ajax]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=259</guid>
		<description><![CDATA[JavaScript is an Object Oriented Programming Language. It  is completely centered around objects. May if you are newer you have question about What is an object? so the very short answer is everything is object.
In the context of a web page, a JavaScript object is any scriptable HTML element &#8211; that is any HTML [...]]]></description>
			<content:encoded><![CDATA[<p>JavaScript is an Object Oriented Programming Language. It  is completely centered around objects. May if you are newer you have question about What is an object? so the very short answer is everything is <em>object</em>.</p>
<p>In the context of a web page, a JavaScript object is any scriptable HTML element &#8211; that is any HTML element within a document that may be accessed through the JavaScript language. Scriptable HTML elements are associated with the Document Object Model, also known as the DOM.</p>
<p><strong>Object:</strong></p>
<p>In JavaScript, you interact with the browser throught the use of built in <em>objects</em>; these objects exist already, and can be accessed from your JavaScript code by name. The built-in objects are Date, Math, String, Array, and Object. Each is used in a unique and not-quite-consistent way. Objects have properties, which you can think of as characteristics of an object. Here are the four most commoly used objects:</p>
<p><strong>1. The String Object:</strong></p>
<p>The String object is used to manipulate a stored piece of text. The String object of JavaScript allows you to perform manipulations on a stored piece of text, such as extracting a substring, searching for the occurrence of a certain character within it etc. General method of using String Object is to declare a variable and assign a string, in other words a text to the variable.</p>
<p>String Object Properties:</p>
<p><em>length</em> &#8211; The number of characters in the string. (# characters)</p>
<p><em>prototype</em> &#8211; For creating more properties</p>
<p>String Object Methods for HTML Formatting:</p>
<table border="0" cellspacing="0" cellpadding="4">
<tbody>
<tr bgcolor="#cccccc">
<td width="129" valign="top">
<p align="center"><strong> Method Name</strong></p>
</td>
<td width="346" valign="top">
<p align="center"><strong> Returned Value</strong></p>
</td>
</tr>
<tr>
<td width="129" valign="top">anchor</td>
<td width="346" valign="top">&lt;A NAME=&#8221;anchortext&#8221;&gt;foo&lt;/A&gt;</td>
</tr>
<tr>
<td width="129" valign="top">big</td>
<td width="346" valign="top">&lt;BIG&gt;foo&lt;/BIG&gt;</td>
</tr>
<tr>
<td width="129" valign="top">blink</td>
<td width="346" valign="top">&lt;BLINK&gt;foo&lt;/BLINK&gt;</td>
</tr>
<tr>
<td width="129" valign="top">bold</td>
<td width="346" valign="top">&lt;B&gt;foo&lt;/B&gt;</td>
</tr>
<tr>
<td width="129" valign="top">fixed</td>
<td width="346" valign="top">&lt;TT&gt;foo&lt;/TT&gt;</td>
</tr>
<tr>
<td width="129" valign="top">fontcolor</td>
<td width="346" valign="top">&lt;FONT COLOR=&#8221;green&#8221;&gt;foo&lt;/</td>
</tr>
<tr>
<td width="129" valign="top">fontsize</td>
<td width="346" valign="top">&lt;FONT SIZE=&#8221;-1&#8243;&gt;foo&lt;/FONT&gt;</td>
</tr>
<tr>
<td width="129" valign="top">italics</td>
<td width="346" valign="top">&lt;I&gt;foo&lt;/I&gt;</td>
</tr>
<tr>
<td width="129" valign="top">link</td>
<td width="346" valign="top">&lt;A HREF=&#8221;linktext&#8221;&gt;foo&lt;/A&gt;</td>
</tr>
<tr>
<td width="129" valign="top">small</td>
<td width="346" valign="top">&lt;SMALL&gt;foo&lt;/SMALL&gt;</td>
</tr>
<tr>
<td width="129" valign="top">strike</td>
<td width="346" valign="top">&lt;STRIKE&gt;foo&lt;/STRIKE&gt;</td>
</tr>
<tr>
<td width="129" valign="top">sub</td>
<td width="346" valign="top">&lt;SUB&gt;foo&lt;/SUB&gt;</td>
</tr>
<tr>
<td width="129" valign="top">sup</td>
<td width="346" valign="top">&lt;SUP&gt;foo&lt;/SUP&gt;</td>
</tr>
<tr>
<td width="129" valign="top">toLowerCase</td>
<td width="346" valign="top">uppercase</td>
</tr>
<tr>
<td width="129" valign="top">toUpperCase</td>
<td width="346" valign="top">UPPERCASE</td>
</tr>
</tbody>
</table>
<p><a href="http://www.javascriptkit.com/jsref/string.shtml" target="_blank">See more methods</a></p>
<p><strong>2. The Math Object : </strong></p>
<p>The Math object allows you to perform mathematical tasks. The JavaScript math object can be invoked without creating an instance of it. But unlike the String and the Date object which requires defining the object, Math object need not be defined. So in conclusion The Math object of JavaScript allows you to perform certain calculations by using method functions of the Math object.</p>
<p>JavaScript Math Object Properties:</p>
<p><em>E</em> &#8211; Euler&#8217;s constant</p>
<p><em>LN2</em> &#8211; Natural log of 2</p>
<p><em>LN10</em> &#8211; Natural log of 10</p>
<p><em>LOG2E</em> &#8211;  Base 2 logarithm of E.</p>
<p><em>LOG10E</em> &#8211;  Base 10 logarithm of E.</p>
<p><em>PI</em> &#8211;  Value of Pi</p>
<p><em>SQRT1_2</em> &#8211; Square root of 1/2.</p>
<p><em>SQRT2</em> &#8211; Square root of 2</p>
<p>Math Object Method:</p>
<table border="0" cellspacing="0" cellpadding="4">
<tbody>
<tr bgcolor="#cccccc">
<td valign="top">
<p align="center"><strong> Method</strong></p>
</td>
<td valign="top">
<p align="center"><strong> Description</strong></p>
</td>
</tr>
<tr>
<td valign="top">abs(a)</td>
<td valign="top">Supplies the absolute value of a number</td>
</tr>
<tr>
<td valign="top">acos(a)</td>
<td valign="top">Supplies the arccosine of a number</td>
</tr>
<tr>
<td valign="top">asin(a)</td>
<td valign="top">Supplies the arcsine of a number</td>
</tr>
<tr>
<td valign="top">atan(a)</td>
<td valign="top">Supplies the arctangent of a as a numeric value between -PI/2 and PI/2 radians</td>
</tr>
<tr>
<td valign="top">atan2(a,b)</td>
<td valign="top">Supplies the angle theta of a point as a numeric value between -PI and PI radians</td>
</tr>
<tr>
<td valign="top">ceil(a)</td>
<td valign="top">Supplies the value of a number rounded up to the nearest number</td>
</tr>
<tr>
<td valign="top">cos(a)</td>
<td valign="top">Supplies the cosine of a number</td>
</tr>
<tr>
<td valign="top">exp(a)</td>
<td valign="top">Supplies the exponential value of a number</td>
</tr>
<tr>
<td valign="top">floor(a)</td>
<td valign="top">Supplies the value of a number rounded down to the nearest number</td>
</tr>
<tr>
<td valign="top">log(a)</td>
<td valign="top">Supplies the logarithm of a number</td>
</tr>
<tr>
<td valign="top">max(a,b)</td>
<td valign="top">Supplies the number with the highest value</td>
</tr>
<tr>
<td valign="top">min(a,b)</td>
<td valign="top">Supplies the number with the lowest value</td>
</tr>
<tr>
<td valign="top">pow(a,b)</td>
<td valign="top">Supplies the value of one number (a) to the power of the second number (b)</td>
</tr>
<tr>
<td valign="top">random( )</td>
<td valign="top">Supplies a random number between 0 and 9</td>
</tr>
<tr>
<td valign="top">round(a)</td>
<td valign="top">Supplies a number rounded to the nearest number</td>
</tr>
<tr>
<td valign="top">sin(a)</td>
<td valign="top">Supplies the sine of a number</td>
</tr>
<tr>
<td valign="top">sqrt(a)</td>
<td valign="top">Supplies the square root of a number</td>
</tr>
<tr>
<td valign="top">tan(a)</td>
<td valign="top">Supplies the tangent of an angle</td>
</tr>
<tr>
<td valign="top">toSource(a)</td>
<td valign="top">Refers to the source code of an object</td>
</tr>
<tr>
<td valign="top">valueOf( )</td>
<td valign="top">Supplies the primitive value of a math object</td>
</tr>
</tbody>
</table>
<p><strong>3. The Date Object: </strong></p>
<p>The Date object is used to work with dates and times. Generally in web page the Date object provides information about the current date and time on the client&#8217;s machine. The Date object is similar to the String object in that you create new instances of the object when you assign it to a variable. It differs from the String object in that you use a statement called new to create it.</p>
<p>JavaScript Date Object Properties:</p>
<p><em>constructor</em> &#8211;  Returns a reference to the Date function that created the object .</p>
<p><em>prototype</em> &#8211; Allows you to add properties and methods to the object.</p>
<p>Instantiating a date object:</p>
<p><em>new Date()</p>
<p>new Date(milliseconds)</p>
<p>new Date(dateString)</p>
<p>new Date(year, month, day, hours, minutes, seconds, milliseconds) </em></p>
<p>JavaScript Date Object Properties:</p>
<table border="0" cellspacing="0" cellpadding="4">
<tbody>
<tr bgcolor="#cccccc">
<td width="17%"><strong> Method </strong></td>
<td width="83%"><strong> Description </strong></td>
</tr>
<tr>
<td valign="top">Date()</td>
<td valign="top">Returns today&#8217;s date and time</td>
</tr>
<tr>
<td valign="top">getDate()</td>
<td valign="top">Returns the day of the month from a Date object (from 1-31)</td>
</tr>
<tr>
<td valign="top">getDay()</td>
<td valign="top">Returns the day of the week from a Date object (from 0-6)</td>
</tr>
<tr>
<td valign="top">getMonth()</td>
<td valign="top">Returns the month from a Date object (from 0-11)</td>
</tr>
<tr>
<td valign="top">getFullYear()</td>
<td valign="top">Returns the year, as a four-digit number, from a Date object</td>
</tr>
<tr>
<td valign="top">getYear()</td>
<td valign="top">Returns the year, as a two-digit or a four-digit number, from a Date object. Use getFullYear() instead !!</td>
</tr>
<tr>
<td valign="top">getHours()</td>
<td valign="top">Returns the hour of a Date object (from 0-23)</td>
</tr>
<tr>
<td valign="top">getMinutes()</td>
<td valign="top">Returns the minutes of a Date object (from 0-59)</td>
</tr>
<tr>
<td valign="top">getSeconds()</td>
<td valign="top">Returns the seconds of a Date object (from 0-59)</td>
</tr>
<tr>
<td valign="top">getMilliseconds()</td>
<td valign="top">Returns the milliseconds of a Date object (from 0-999)</td>
</tr>
<tr>
<td valign="top">getTime()</td>
<td valign="top">Returns the number of milliseconds since midnight Jan 1, 1970</td>
</tr>
<tr>
<td valign="top">getTimezoneOffset()</td>
<td valign="top">Returns the difference in minutes between local time and Greenwich Mean Time (GMT)</td>
</tr>
<tr>
<td valign="top">getUTCDate()</td>
<td valign="top">Returns the day of the month from a Date object according to universal time (from 1-31)</td>
</tr>
<tr>
<td valign="top">getUTCDay()</td>
<td valign="top">Returns the day of the week from a Date object according to universal time (from 0-6)</td>
</tr>
<tr>
<td valign="top">getUTCMonth()</td>
<td valign="top">Returns the month from a Date object according to universal time (from 0-11)</td>
</tr>
<tr>
<td valign="top">getUTCFullYear()</td>
<td valign="top">Returns the four-digit year from a Date object according to universal time</td>
</tr>
<tr>
<td valign="top">getUTCHours()</td>
<td valign="top">Returns the hour of a Date object according to universal time (from 0-23)</td>
</tr>
<tr>
<td valign="top">getUTCMinutes()</td>
<td valign="top">Returns the minutes of a Date object according to universal time (from 0-59)</td>
</tr>
<tr>
<td valign="top">getUTCSeconds()</td>
<td valign="top">Returns the seconds of a Date object according to universal time (from 0-59)</td>
</tr>
<tr>
<td valign="top">getUTCMilliseconds()</td>
<td valign="top">Returns the milliseconds of a Date object according to universal time (from 0-999)</td>
</tr>
<tr>
<td valign="top">parse()</td>
<td valign="top">Takes a date string and returns the number of milliseconds since midnight of January 1, 1970</td>
</tr>
<tr>
<td valign="top">setDate()</td>
<td valign="top">Sets the day of the month in a Date object (from 1-31)</td>
</tr>
<tr>
<td valign="top">setMonth()</td>
<td valign="top">Sets the month in a Date object (from 0-11)</td>
</tr>
<tr>
<td valign="top">setFullYear()</td>
<td valign="top">Sets the year in a Date object (four digits)</td>
</tr>
<tr>
<td valign="top">setYear()</td>
<td valign="top">Sets the year in the Date object (two or four digits). Use setFullYear() instead !!</td>
</tr>
<tr>
<td valign="top">setHours()</td>
<td valign="top">Sets the hour in a Date object (from 0-23)</td>
</tr>
<tr>
<td valign="top">setMinutes()</td>
<td valign="top">Set the minutes in a Date object (from 0-59)</td>
</tr>
<tr>
<td valign="top">setSeconds()</td>
<td valign="top">Sets the seconds in a Date object (from 0-59)</td>
</tr>
<tr>
<td valign="top">setMilliseconds()</td>
<td valign="top">Sets the milliseconds in a Date object (from 0-999)</td>
</tr>
<tr>
<td valign="top">setTime()</td>
<td valign="top">Calculates a date and time by adding or subtracting a specified number of milliseconds to/from midnight January 1, 1970</td>
</tr>
<tr>
<td valign="top">setUTCDate()</td>
<td valign="top">Sets the day of the month in a Date object according to universal time (from 1-31)</td>
</tr>
<tr>
<td valign="top">setUTCMonth()</td>
<td valign="top">Sets the month in a Date object according to universal time (from 0-11)</td>
</tr>
<tr>
<td valign="top">setUTCFullYear()</td>
<td valign="top">Sets the year in a Date object according to universal time (four digits)</td>
</tr>
<tr>
<td valign="top">setUTCHours()</td>
<td valign="top">Sets the hour in a Date object according to universal time (from 0-23)</td>
</tr>
<tr>
<td valign="top">setUTCMinutes()</td>
<td valign="top">Set the minutes in a Date object according to universal time (from 0-59)</td>
</tr>
<tr>
<td valign="top">setUTCSeconds()</td>
<td valign="top">Set the seconds in a Date object according to universal time (from 0-59)</td>
</tr>
<tr>
<td valign="top">setUTCMilliseconds()</td>
<td valign="top">Sets the milliseconds in a Date object according to universal time (from 0-999)</td>
</tr>
<tr>
<td valign="top">toSource()</td>
<td valign="top">Represents the source code of an object</td>
</tr>
<tr>
<td valign="top">toString()</td>
<td valign="top">Converts a Date object to a string</td>
</tr>
<tr>
<td valign="top">toGMTString()</td>
<td valign="top">Converts a Date object, according to Greenwich time, to a string. Use toUTCString() instead !!</td>
</tr>
<tr>
<td valign="top">toUTCString()</td>
<td valign="top">Converts a Date object, according to universal time, to a string</td>
</tr>
<tr>
<td valign="top">toLocaleString()</td>
<td valign="top">Converts a Date object, according to local time, to a string</td>
</tr>
<tr>
<td valign="top">UTC()</td>
<td valign="top">Takes a date and returns the number of milliseconds since midnight of January 1, 1970 according to universal time</td>
</tr>
<tr>
<td valign="top">valueOf()</td>
<td valign="top">Returns the primitive value of a Date object</td>
</tr>
</tbody>
</table>
<h3>JavaScript Object, Method, propeties for Ajax:</h3>
<ul>
<li>history: Represents the list of URLs that the browser had already been to.</li>
<li>window: Represents the browser itself.</li>
<li>XMLHttpRequest: The object that you use in Ajax to communicate with the server.</li>
</ul>
<p>In JavaScript, Objects have methods and properties. A <em>method</em> is a chunk of code built into the object that performs some action. For example: you use the document object&#8217;s write method, which you access as document.write, to write to the document (in the current web page).</p>
<ul>
<li>document.write: Lets you write text to the current web page</li>
<li>history.go: Moves the browser to a page in the browser&#8217;s history</li>
<li>window.open: Opens a new browser window</li>
</ul>
<p><em>Properties,</em> on the other hand, are just settings that you can place data into. JavaScript properties often take their names from the attributes of HTML elements, such as the bgcolor attribute of the &lt;body&gt; element.</p>
<ul>
<li>document.bgcolor: Holds the background color of the current page.</li>
<li>document.fgcolor: Holds the foreground color of the current page.</li>
<li>document.lastmodified: Holds the data the page was last modified.</li>
<li>document.title: Holds the title of the page</li>
<li>location.hostname: Holds the name of the page&#8217;s host.</li>
<li>navigator.appName: Holds the type of the browser</li>
</ul>
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2009/05/various-method-javascript-form-validation/" title="Various Method JavaScript Form Validation">Various Method JavaScript Form Validation</a></li>
<li><a href="http://www.themeheven.com/2009/04/javascript-effect/" title="Javascript Effect">Javascript Effect</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/08/javascript-built-in-object-method-properties-handling-events-in-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Create a MovieClip Rotating around the Center Continiously</title>
		<link>http://www.themeheven.com/2009/08/how-to-create-a-movieclip-rotating-around-the-center-continiously/</link>
		<comments>http://www.themeheven.com/2009/08/how-to-create-a-movieclip-rotating-around-the-center-continiously/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 09:30:37 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[Flash AS]]></category>
		<category><![CDATA[Rotate Circle]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=256</guid>
		<description><![CDATA[This  article explain you how to create an object which rotate around the center continiously. In this tutorial you will learn more about the center and math, sine/cos/degrees/radians. Here I am going to explain you with the action script:
First Create an object of any shape which you want to rotate around the circle. And [...]]]></description>
			<content:encoded><![CDATA[<p>This  article explain you how to create an object which rotate around the center continiously. In this tutorial you will learn more about the center and math, sine/cos/degrees/radians. Here I am going to explain you with the action script:</p>
<p>First Create an object of any shape which you want to rotate around the circle. And give a instance name for the object. In this example I have used a circle shape having circ instance name &amp; I will describe you using the same instance name in this tutorial.</p>
<p>Here I want to start right now. First I will divide the stage from X &amp; Y by 2 show that I can find the center position of the stage.</p>
<p>circ.centerX = Stage.width / 2;</p>
<p>circ.centerY = Stage.height / 2;</p>
<p>Now set the starting point on the circle, in degrees.</p>
<p>circ.angle = 0;</p>
<p>Define the radius of the circle.</p>
<p>circ.radius = 100;</p>
<p>Here I declare the  amount of change in the angle (You know angle change will be in degree) for each iteration of the animation. Here I have used 20 degree for angle change. This will effect the rotation speed. If you need to increase speed you should increase angleChange and decrease for low speed.</p>
<p>circ.angleChange = 10;</p>
<p>Now write a  function to convert degrees to radians. This function accepts degrees and returns radians.</p>
<p>function degreetoradian(degree) {</p>
<p>return degree * (Math.PI / 180);</p>
<p>}</p>
<p>Ok We got the radians.</p>
<p>Now I start AS to rotate the circle.</p>
<p>function animateCircle() {</p>
<p>Here I store the radian conversion of the degree</p>
<p>var radian = degreetoradian(this.angle);</p>
<p>Now set the x and y cordinate for this movieClip, based on the clip-specific. And variables storing the circle center and radius, determining x and y coordinates using cosine and sine, respectively.</p>
<p>this._x = this.centerX + this.radius * Math.cos(radian);</p>
<p>this._y = this.centerY + this.radius * Math.sin(radian);</p>
<p>Here I add the angle change to the master angle for this clip with each  iteration, so we know how to determine the next x,y point.</p>
<p>this.angle += this.angleChange;</p>
<p>And now modulus to determine the correct angle for any angle which is greater  than 360-degrees.</p>
<p>this.angle+= 3;</p>
<p>}</p>
<p>You can give required value for angle change.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="high" /><param name="src" value="http://www.jagadishwor.com.np//wp-content/uploads/2009/08/cirRot.swf" /><embed type="application/x-shockwave-flash" width="300" height="350" src="http://www.jagadishwor.com.np//wp-content/uploads/2009/08/cirRot.swf" quality="high"></embed></object></p>
<p>And in the final assign a funcion to be called on every EnterFrame event for this clip to play movie continiously.</p>
<p>circ.onEnterFrame = animateCircle;</p>
<p>The Action Script Code:</p>
<pre>//Define the stage for orbit and finding the center.

  circ.centerX = Stage.width / 2;

  circ.centerY = Stage.height / 2;

  //Define the starting anlge point on the circle, in degrees.

  circ.angle = 0;

  //Set the radius of the circle

  circ.radius = 110;

  //Set the angle change amount value.

  circ.angleChange = 10;

  //function to convert degrees to radians

  function degreetoradian(degree) {

return degree * (Math.PI / 180);

}

//Create function to animate circle

function animateCircle() {

//use a local variable to store the radian conversion of the degree

// value more familiar to most of us. See notes on Flash angles.

var radian = degreetoradian(this.angle);

//set the x and y cordinate for this slip, based on the clip-specific

// variables storing the circle center and radius. See notes for

// determining x and y coordinates using cosine and sine, respectively.

this._x = this.centerX + this.radius * Math.cos(radian);

this._y = this.centerY + this.radius * Math.sin(radian);

//add the angle change to the master angle for this clip with each 

// iteration, so we know how to determine the next x,y point.

this.angle += this.angleChange;

//use modulus to determine the correct angle for any angle greater

// than 360-degrees. See notes for an explanation of modulus.

this.angle+= 3;

}

//Now animate circle on onEnterFrame

circ.onEnterFrame = animateCircle</pre>
<p><a href="http://www.jagadishwor.com.np//wp-content/uploads/2009/08/cirRot.rar">Download Zip</a><br />
<h3>Most Commented Posts</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2009/03/display-wordpress-content-outside-of-your-blog/" title="Display Wordpress content outside of your blog">Display Wordpress content outside of your blog</a></li>
<li><a href="http://www.themeheven.com/2009/03/top-10-magazine-wordpress-themes-from-premiumthemes/" title="Top 10 Magazine WordPress Themes from Premiumthemes">Top 10 Magazine WordPress Themes from Premiumthemes</a></li>
<li><a href="http://www.themeheven.com/2009/04/wordpress-meta-tags-plugin/" title="WordPress Meta-Tags Plugin">WordPress Meta-Tags Plugin</a></li>
<li><a href="http://www.themeheven.com/2009/06/simple-jquery-image-slide-show-with-semi-transparent-caption/" title="Simple JQuery Image Slide Show with Semi-Transparent Caption">Simple JQuery Image Slide Show with Semi-Transparent Caption</a></li>
<li><a href="http://www.themeheven.com/2009/06/web-2-0-and-seo/" title="Web 2.0 and SEO">Web 2.0 and SEO</a></li>
<li><a href="http://www.themeheven.com/2009/03/photoshop-tutorial-sites/" title="Photoshop Tutorial Sites">Photoshop Tutorial Sites</a></li>
<li><a href="http://www.themeheven.com/2009/04/how-to-embed-google-ad-in-your-post/" title="How to: Embed Google Ad in your post">How to: Embed Google Ad in your post</a></li>
<li><a href="http://www.themeheven.com/2009/04/wordpress-tips-and-tricks/" title="Wordpress Tips and Tricks">Wordpress Tips and Tricks</a></li>
<li><a href="http://www.themeheven.com/2009/04/digital-photography-tutorial-and-tips/" title="Digital Photography Tutorial and Tips">Digital Photography Tutorial and Tips</a></li>
<li><a href="http://www.themeheven.com/2009/05/useful-wordpress-tricks-to-make-your-theme-even-better/" title="Useful Wordpress Tricks to Make Your Theme Even Better">Useful Wordpress Tricks to Make Your Theme Even Better</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/08/how-to-create-a-movieclip-rotating-around-the-center-continiously/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Redirect to another Page/URL Script</title>
		<link>http://www.themeheven.com/2009/08/php-redirect-to-another-pageurl-script/</link>
		<comments>http://www.themeheven.com/2009/08/php-redirect-to-another-pageurl-script/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 08:21:19 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[HOW TO]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=253</guid>
		<description><![CDATA[In  PHP there are some common way to redirect another page or URL. Here I am going to use some simple way to redirect. In PHP you need to use header() to send a raw HTTP header. In headers() method, you can easily redirect to the new page or URL.
Using headers():
In  header() method [...]]]></description>
			<content:encoded><![CDATA[<p>In  PHP there are some common way to redirect another page or URL. Here I am going to use some simple way to redirect. In PHP you need to use header() to send a raw HTTP header. In headers() method, you can easily redirect to the new page or URL.</p>
<h2>Using headers():</h2>
<p>In  header() method you must remember to call it before any output is sent. Means nothing should be printed in page.</p>
<pre>&lt;?php

  //Redirect to page or URL 

  header(&quot;Location: URL or Page Address &quot;);

  //End the code with exit 

  exit;

  ?&gt; </pre>
<h2>Using Javascritp:</h2>
<p>In this method you can use this JavaScript at any part of your page. </p>
<p>
<pre>&lt;script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot;&gt;

window.location = &quot;redirect page/URL here&quot;

&lt;/script&gt; </pre>
</p>
<p>You can also show any error message to your user:</p>
<p>
<pre>&lt;script language=&quot;JavaScript&quot; type=&quot;text/javascript&quot;&gt;alert(&quot;any message here &quot;)

window.location = &quot;redirect page/URL here&quot;

&lt;/script&gt; </pre>
</p>
<h2>Using Meta tag method:<br />
</h2>
<p>You can use this script at any part of your page. </p>
<p>
<pre>&lt;?php

  echo &quot;&lt;meta http-equiv='refresh' content='0;url=redirect page/URL here'&gt;&quot;;

?&gt;
</pre>
<p>Enjoy!!!</p>
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2010/01/10-simple-php-login-sytem-tutorial/" title="10 Simple PHP Login Sytem Tutorial ">10 Simple PHP Login Sytem Tutorial </a></li>
<li><a href="http://www.themeheven.com/2010/01/an-introduction-to-object-oriented-php/" title="An Introduction to Object Oriented PHP">An Introduction to Object Oriented PHP</a></li>
<li><a href="http://www.themeheven.com/2009/10/php-image-file-upload-tutorial/" title="PHP Image File Upload Tutorial">PHP Image File Upload Tutorial</a></li>
<li><a href="http://www.themeheven.com/2009/08/delete-multiple-records-using-checkbox-with-select-all-buttons/" title="Delete Multiple Records Using Checkbox With Select All Buttons">Delete Multiple Records Using Checkbox With Select All Buttons</a></li>
<li><a href="http://www.themeheven.com/2009/06/advanced-php-query-function/" title="Advanced PHP Query function">Advanced PHP Query function</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/08/php-redirect-to-another-pageurl-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete Multiple Records Using Checkbox With Select All Buttons</title>
		<link>http://www.themeheven.com/2009/08/delete-multiple-records-using-checkbox-with-select-all-buttons/</link>
		<comments>http://www.themeheven.com/2009/08/delete-multiple-records-using-checkbox-with-select-all-buttons/#comments</comments>
		<pubDate>Sun, 09 Aug 2009 17:16:52 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[HOW TO]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=232</guid>
		<description><![CDATA[
Last Time I post &#8220;Deleting multiple records using checkbox&#8221;. One of my friend request me to add some features like yahoo mail, gmail where we can select all or unselect all records. WOW! it was really helpful for everyone. So I am here going to show you Delete Multiple Records Using Select All and Unselect [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.jagadishwor.com.np/wp-content/uploads/2009/08/seldelmult.gif" alt="" width="376" height="185" /></p>
<p>Last Time I post &#8220;Deleting multiple records using checkbox&#8221;. One of my friend request me to add some features like yahoo mail, gmail where we can select all or unselect all records. WOW! it was really helpful for everyone. So I am here going to show you Delete Multiple Records Using Select All and Unselect Features. I have simply added a javascript code in my previous post which you can <a href="http://www.jagadishwor.com.np/2009/08/php-mysql-deleting-multiple-records-using-checkbox/" target="_blank">see here</a>. All of the Features are same as my previous code and I am using the new codes which I added on my last one.</p>
<p>Now Create your database and table as your required. Write your connection string and finish all of the work. Which you can see in my previous post.</p>
<p>Ok Now add this javascript before your &lt;/head&gt; tag.</p>
<pre><code>&lt;script&gt;
function selectAllCheckBoxes(FormName, FieldName, CheckValue)
{
	if(!document.forms[FormName])
		return;
	var objCheckBoxes = document.forms[FormName].elements[FieldName];
	if(!objCheckBoxes)
		return;
	var countCheckBoxes = objCheckBoxes.length;
	if(!countCheckBoxes)
		objCheckBoxes.checked = CheckValue;
	else
		// set the check value for all check boxes
		for(var i = 0; i &lt; countCheckBoxes; i++)
			objCheckBoxes[i].checked = CheckValue;
}
&lt;/script&gt;</code></pre>
<p>And Now add this code before &lt;/form&gt; tag. Which add two buttons in your code.</p>
<pre><code> &lt;input type="button" onclick="selectAllCheckBoxes('form1', 'checkbox[]', true);" value="Select All"&gt;
&lt;input type="button" onclick="selectAllCheckBoxes('form1', 'checkbox[]', false);" value="Clear All"&gt; </code></pre>
<p>You have done.</p>
<p>Get Complete Code Here:</p>
<pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;
&lt;title&gt;Delete Multiple Records&lt;/title&gt;
&lt;script&gt;
function selectAllCheckBoxes(FormName, FieldName, CheckValue)
{
	if(!document.forms[FormName])
		return;
	var objCheckBoxes = document.forms[FormName].elements[FieldName];
	if(!objCheckBoxes)
		return;
	var countCheckBoxes = objCheckBoxes.length;
	if(!countCheckBoxes)
		objCheckBoxes.checked = CheckValue;
	else
		// set the check value for all check boxes
		for(var i = 0; i &lt; countCheckBoxes; i++)
			objCheckBoxes[i].checked = CheckValue;
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;?php
 $dbhost="localhost";
   $dbuser="root";
   $dbpass="";
   $dbname="test";
mysql_connect("$dbhost","$dbuser","$dbpass") or die('Could not connect');
mysql_select_db($dbname);
?&gt;
&lt;form name="form1" method="post" action=""&gt;
&lt;table width="409" border="0" cellpadding="2" cellspacing="0" bordercolor="#999999"&gt;
&lt;tr bgcolor="#CCCCCC"&gt;
&lt;td width="52"&gt;&lt;div align="center"&gt;Select&lt;/div&gt;&lt;/td&gt;
&lt;td width="98"&gt;&lt;div align="center"&gt;Name&lt;/div&gt;&lt;/td&gt;
&lt;td width="142"&gt;&lt;div align="center"&gt;Address&lt;/div&gt;&lt;/td&gt;
&lt;td width="101"&gt;&lt;div align="center"&gt;Contact No&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;?php
$query="SELECT * FROM tbluser";
$result=mysql_query($query);
$sno=1;
while($row=mysql_fetch_array($result, MYSQL_ASSOC)){
?&gt;
&lt;tr&gt;
&lt;td&gt;&lt;input name="checkbox[]" type="checkbox" id="checkbox[]" value="&lt;? echo $row['userid']; ?&gt;"&gt;&lt;/td&gt;
&lt;td&gt;&lt;? echo $row['name'];?&gt;&lt;/td&gt;
&lt;td&gt;&lt;? echo $row['address'];?&gt;&lt;/td&gt;
&lt;td&gt;&lt;? echo $row['contactno'];?&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;?
	$sno=$sno+1;
	}
	?&gt;
&lt;tr&gt;
&lt;td&gt;&amp;nbsp;&lt;/td&gt;
&lt;td colspan="3"&gt;
&lt;div align="right"&gt;
&lt;input name="delete" type="submit" id="delete" value="Delete Records"&gt;
&amp;nbsp;&amp;nbsp;
&lt;input type="button" onclick="selectAllCheckBoxes('form1', 'checkbox[]', true);" value="Select All"&gt;
&amp;nbsp;&amp;nbsp;
&lt;input type="button" onclick="selectAllCheckBoxes('form1', 'checkbox[]', false);" value="Clear All"&gt;
&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;?
if($_POST['delete']){
//print_r($_POST);
$checkbox=$_POST['checkbox'];
//exit;
for($i=0;$i&lt;count($checkbox);$i++){
$del_id = $checkbox[$i];
$sql = "DELETE FROM tbluser WHERE userid='$del_id'";
$result = mysql_query($sql);
}
// if successful redirect to delete_multiple.php
if($result){
echo "&lt;meta http-equiv=\"refresh\" content=\"0;URL=deletemultiplerecords.php\"&gt;";
}
}
?&gt;
&lt;/form&gt;
&lt;/body&gt;
&lt;/html&gt;</code></pre>
<p><a href="http://www.jagadishwor.com.np/wp-content/uploads/2009/08/deletemultiplerecords_Updated.rar">Download Zip Here</a></p>
<p>Source: www.jagadishwor.com.np<br />
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2010/01/10-simple-php-login-sytem-tutorial/" title="10 Simple PHP Login Sytem Tutorial ">10 Simple PHP Login Sytem Tutorial </a></li>
<li><a href="http://www.themeheven.com/2010/01/an-introduction-to-object-oriented-php/" title="An Introduction to Object Oriented PHP">An Introduction to Object Oriented PHP</a></li>
<li><a href="http://www.themeheven.com/2009/10/php-image-file-upload-tutorial/" title="PHP Image File Upload Tutorial">PHP Image File Upload Tutorial</a></li>
<li><a href="http://www.themeheven.com/2009/08/php-redirect-to-another-pageurl-script/" title="PHP Redirect to another Page/URL Script">PHP Redirect to another Page/URL Script</a></li>
<li><a href="http://www.themeheven.com/2009/06/advanced-php-query-function/" title="Advanced PHP Query function">Advanced PHP Query function</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/08/delete-multiple-records-using-checkbox-with-select-all-buttons/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flash Duplicate Movie Clip</title>
		<link>http://www.themeheven.com/2009/08/flash-duplicate-movie-clip/</link>
		<comments>http://www.themeheven.com/2009/08/flash-duplicate-movie-clip/#comments</comments>
		<pubDate>Fri, 07 Aug 2009 08:53:21 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[Flash AS]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Duplicate Movie Clip]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=229</guid>
		<description><![CDATA[In this Tutorial I will show you how you can duplicate your instances of a movie clip using a simple action script.
1. Create a movie clip of your choice. (If you want to show animation use motion gudie path for Motion Twin).
2. Place movie clip in the stage and give a instance name here I [...]]]></description>
			<content:encoded><![CDATA[<p>In this Tutorial I will show you how you can duplicate your instances of a movie clip using a simple action script.</p>
<p>1. Create a movie clip of your choice. (If you want to show animation use motion gudie path for Motion Twin).</p>
<p>2. Place movie clip in the stage and give a instance name here I use soccer_1</p>
<p>3. Create button for your movie clip duplication process.</p>
<p>4. Write Duplicate Code like below in your Actions Panel on your button&#8217;s release action:</p>
<p>on (release) {<br />
_root.Soccer_1.duplicateMovieClip (&#8221;Soccer_&#8221;+&#8221;x&#8221;, x );<br />
x++;<br />
}</p>
<p>5. Play your movie for test.<br />
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2009/07/drawing-shape-using-action-script/" title="Drawing Shape Using Action Script">Drawing Shape Using Action Script</a></li>
<li><a href="http://www.themeheven.com/2009/07/drawing-a-circle-using-action-script-code/" title="Drawing a Circle Using Action Script Code">Drawing a Circle Using Action Script Code</a></li>
<li><a href="http://www.themeheven.com/2009/07/flash-cs3-tutorial-arrays-2/" title="Flash CS3 Tutorial &#8211; Arrays">Flash CS3 Tutorial &#8211; Arrays</a></li>
<li><a href="http://www.themeheven.com/2009/07/flash-cs3-tutorial-arrays/" title="Flash CS3 Tutorial &#8211; Arrays">Flash CS3 Tutorial &#8211; Arrays</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/08/flash-duplicate-movie-clip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search Engine Optimization Strategies</title>
		<link>http://www.themeheven.com/2009/07/search-engine-optimization-strategies/</link>
		<comments>http://www.themeheven.com/2009/07/search-engine-optimization-strategies/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 10:20:58 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[SEO Tips]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=226</guid>
		<description><![CDATA[There are many SEO strategies used in the process of search engine optimization. It is important to note that in order to generate measurable improvements in natural or organic search engine listings, SEO strategies require a holistic perspective where not every SEO strategy individually creates a direct increase in rankings, but rather each search engine [...]]]></description>
			<content:encoded><![CDATA[<p>There are many SEO strategies used in the process of search engine optimization. It is important to note that in order to generate measurable improvements in natural or organic search engine listings, SEO strategies require a holistic perspective where not every SEO strategy individually creates a direct increase in rankings, but rather each search engine optimization strategy combined will improve rankings across multiple keyword phrases and search engines.</p>
<p><strong>Keyword Research &amp; Analysis</strong></p>
<p>The process of determining the targeted searched keyword phrases that users are searching to find your niche market is one of the primary and most important steps in SEO strategies is to skillfully select keyword phrases that are relevant to your business.</p>
<p><strong>On-page Optimization</strong></p>
<p>The search engine optimization strategy of implementing the chosen keyword phrases from our keyword research into the title tag, meta description and keyword tags while skillfully writing the web page content utilizing keywords, anchor text links and alt tags within a search engine friendly site design.</p>
<p><strong>Website Positioning, Architecture &amp; Navigation</strong></p>
<p>The process of designing a website’s architecture, positioning (where certain things are positioned on the site page) and navigation for the best search engine friendly design.</p>
<p>It is important to keep in mind that SEO is, first and foremost, the practice of constructing a search engine friendly web site. During the strategic developing process, you may overlook website positioning, architecture and navigation as one of the important search engine optimization strategies. SEO is successfully delivered when finding the delicate balance of all the SEO strategies combined. A website’s architecture, positioning and navigation can directly effect the on-page optimization of a site page, as well as the page’s conversion rates.</p>
<p><strong>Search Engine Marketing</strong></p>
<p>The search engine optimization strategy of search engine marketing makes up the true essence of SEO. Often called SEM, search engine marketing is an ongoing process &#8211; ideally for the life of a website &#8211; that involves SEO strategies like: external link development, pay per click, article submissions, directory submissions and any other reputable, relevant paid inbound linking. Ongoing search engine marketing will significantly aid in higher rankings.</p>
<p>Source: http://www.seo-web-consulting.com<br />
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2009/06/seo-tips-and-tricks/" title="SEO Tips and Tricks">SEO Tips and Tricks</a></li>
<li><a href="http://www.themeheven.com/2009/09/understanding-search-engine-models/" title="Understanding Search Engine Models">Understanding Search Engine Models</a></li>
<li><a href="http://www.themeheven.com/2009/06/web-2-0-and-seo/" title="Web 2.0 and SEO">Web 2.0 and SEO</a></li>
<li><a href="http://www.themeheven.com/2009/05/understanding-search-engine-developing-seo-friendly-site/" title="Understanding Search Engine, Developing SEO Friendly Site">Understanding Search Engine, Developing SEO Friendly Site</a></li>
<li><a href="http://www.themeheven.com/2009/03/wordpress-seo-expert-plugins/" title="WordPress SEO Expert Plugins">WordPress SEO Expert Plugins</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/07/search-engine-optimization-strategies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drawing Shape Using Action Script</title>
		<link>http://www.themeheven.com/2009/07/drawing-shape-using-action-script/</link>
		<comments>http://www.themeheven.com/2009/07/drawing-shape-using-action-script/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 13:07:11 +0000</pubDate>
		<dc:creator>themeheven</dc:creator>
				<category><![CDATA[Flash AS]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Action Script]]></category>
		<category><![CDATA[Draw Shape]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://www.themeheven.com/?p=223</guid>
		<description><![CDATA[1. Draw Animating Circle
var cnt:Number = -90; // from which degree
  var radius:Number = 100;
  this.createEmptyMovieClip("circle",this.getNextHighestDepth());
  circle._x = 200;
  circle._y = 200;
  circle.lineStyle(1,0xFF0000,100);
  xx = 100*Math.cos(-90*Math.PI/180);
  yy = 100*Math.sin(-90*Math.PI/180);
  circle.moveTo(xx,yy);
intervalId = setInterval(this, "executeCallback", 5);

// function to darw a circele.
  function executeCallback() {
  xx = 100*Math.cos(cnt*Math.PI/180);
 [...]]]></description>
			<content:encoded><![CDATA[<p>1. Draw Animating Circle</p>
<pre><code>var cnt:Number = -90; // from which degree
  var radius:Number = 100;
  this.createEmptyMovieClip("circle",this.getNextHighestDepth());
  circle._x = 200;
  circle._y = 200;
  circle.lineStyle(1,0xFF0000,100);
  xx = 100*Math.cos(-90*Math.PI/180);
  yy = 100*Math.sin(-90*Math.PI/180);
  circle.moveTo(xx,yy);
intervalId = setInterval(this, "executeCallback", 5);

// function to darw a circele.
  function executeCallback() {
  xx = 100*Math.cos(cnt*Math.PI/180);
  yy = 100*Math.sin(cnt*Math.PI/180);
  circle.lineTo(xx,yy);
  cnt++;
  if (cnt&gt;=270) {
  fillcolor();
  circle.endFill();
  clearInterval(intervalId);
  }
  }

// To fill the color to circle
  function fillcolor() {
  circle.beginFill(0x00ff00,50);
  for (var i = -90; i&lt;=270; i++) {
  xx = 100*Math.cos(i*Math.PI/180);
  yy = 100*Math.sin(i*Math.PI/180);
  circle.lineTo(xx,yy);
  }
  }</code></pre>
<p>2. Drawing Rectangle and Square</p>
<pre><code>this.createEmptyMovieClip("rectangle_mc", 1);
  with(rectangle_mc){
  lineStyle(6, 0x003399, 100);
  moveTo(0, 0);
  lineTo(200, 0);
  lineTo(200, 200);
  lineTo(0, 200);
  lineTo(0, 0);
  _x=80;
  _y=80;
} </code></pre>
<p>3. Draw Arc</p>
<pre><code>
//
function drawArc(centerX, centerY, radius, startAngle, arcAngle, steps){
//
// Rotate the point of 0 rotation 1/4 turn counter-clockwise.
startAngle -= .25;
//
var twoPI = 2 * Math.PI;
var angleStep = arcAngle/steps;
var xx = centerX + Math.cos(startAngle * twoPI) * radius;
var yy = centerY + Math.sin(startAngle * twoPI) * radius;
moveTo(xx, yy);
for(var i=1; i&lt;=steps; i++){
var angle = startAngle + i * angleStep;
xx = centerX + Math.cos(angle * twoPI) * radius;
yy = centerY + Math.sin(angle * twoPI) * radius;
lineTo(xx, yy);
}
}
lineStyle(0, 0xFF0000);
drawArc(250, 250, 200, 45/360, -90/360, 20);
//</code></pre>
<p>4. Draw Triangle</p>
<pre><code>_root.lineStyle(3, 0x0000FF, 100); _root.moveTo(50, 200);
  _root.lineTo(150, 50);
  _root.lineTo(250, 200);
_root.lineTo(50, 200); </code></pre>
<p>5. Draw Pentagon</p>
<pre><code>createEmptyMovieClip("pentagon_mc", 1);
  pentagon_mc.beginFill(0x999999, 85);
  pentagon_mc.moveTo(0, 0);
  pentagon_mc.lineTo(0, -60);
  pentagon_mc.lineTo(-60, 0);
  pentagon_mc.lineTo(-60, 60);
  pentagon_mc.lineTo(60, 60);
  pentagon_mc.lineTo(60, 0);
  pentagon_mc.lineTo(0, -60);
pentagon_mc.endFill();  </code></pre>
<p>6. Draw Dimond</p>
<pre><code>createEmptyMovieClip("diamond_mc", 1);
  diamond_mc.beginFill(0x000000, 100);
  diamond_mc._x=300;
  diamond_mc._y=100;
  diamond_mc.lineTo(0, -90);
  diamond_mc.lineTo(-90, 0);
  diamond_mc.lineTo(0, 90);
  diamond_mc.lineTo(90, 0);
  diamond_mc.lineTo(0, -90);
diamond_mc.endFill();  </code></pre>
<p>7. Draw Oval Shape</p>
<pre><code>// Change "radius" to "xRadius" and add "yRadius" argument.
  function drawOval(centerX, centerY, xRadius, yRadius, sides){
//
// Change "radius" to "xRadius".
this.moveTo(centerX + xRadius, centerY);
//
for(var i=0; i&lt;=sides; i++){
var pointRatio = i/sides;
var radians = pointRatio * 2 * Math.PI;
var xSteps = Math.cos(radians);
var ySteps = Math.sin(radians);
//
// Change "radius" to "xRadius".
var pointX = centerX + xSteps * xRadius;
//
// Change "radius" to "yRadius".
var pointY = centerY + ySteps * yRadius;
//
this.lineTo(pointX, pointY);
}
}
//
lineStyle(0);
//
// X, Y, W, H, steps.
drawOval(250, 200, 200, 150, 100);
// </code></pre>
<h3>See Also Following Topics:</h3>
<ul class="related_post">
<li><a href="http://www.themeheven.com/2009/07/drawing-a-circle-using-action-script-code/" title="Drawing a Circle Using Action Script Code">Drawing a Circle Using Action Script Code</a></li>
<li><a href="http://www.themeheven.com/2009/08/flash-duplicate-movie-clip/" title="Flash Duplicate Movie Clip">Flash Duplicate Movie Clip</a></li>
<li><a href="http://www.themeheven.com/2009/07/flash-cs3-tutorial-arrays-2/" title="Flash CS3 Tutorial &#8211; Arrays">Flash CS3 Tutorial &#8211; Arrays</a></li>
<li><a href="http://www.themeheven.com/2009/07/flash-cs3-tutorial-arrays/" title="Flash CS3 Tutorial &#8211; Arrays">Flash CS3 Tutorial &#8211; Arrays</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.themeheven.com/2009/07/drawing-shape-using-action-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Analytics Code -->
