<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1602726786903615815</id><updated>2024-09-05T04:30:46.805-07:00</updated><category term="tutorial"/><category term="php"/><category term="css"/><category term="html"/><category term="jquery"/><category term="google"/><category term="other"/><category term="template"/><title type='text'>Psychology-HTML</title><subtitle type='html'>Amrin Simanullang | Trik SEO | Blogger | Arga-Soft.com | Belajar HTML | Tutorial | Javascript | JQuery | AJAX | Googling | Google | CSS | HTML | Amrin | Simanullang | Arga-Soft.Com Medan | Amrin</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://psychology-html.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1602726786903615815/posts/default'/><link rel='alternate' type='text/html' href='http://psychology-html.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Amrin Simanullang</name><uri>http://www.blogger.com/profile/02964673548583178759</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1602726786903615815.post-1272048750344744592</id><published>2014-12-01T23:17:00.003-08:00</published><updated>2015-01-07T01:14:28.116-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>How to make Tweet Auto Bot with PHP?</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwPfq55bbqJNgijVk6i4Amp6x5o9eUp4MRFm0eWJ8pQ8A_xGZfxfSpiXrAhjUcIAXU7Nav-BQP7fIY5LbXhu-XZ91v8QwFGr-3Fkhf5HnCMFAm2jtLqhgl6WP4ygtS6UG4LNSS6sGEIkw/s1600/twitter_bot.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwPfq55bbqJNgijVk6i4Amp6x5o9eUp4MRFm0eWJ8pQ8A_xGZfxfSpiXrAhjUcIAXU7Nav-BQP7fIY5LbXhu-XZ91v8QwFGr-3Fkhf5HnCMFAm2jtLqhgl6WP4ygtS6UG4LNSS6sGEIkw/s1600/twitter_bot.jpg&quot; height=&quot;320&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;In this post&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;I&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;discuss&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;making&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;auto&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;tweet&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;twitter&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;bot&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;with&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;PHP&lt;/span&gt;.&amp;nbsp; &lt;span class=&quot;hps&quot;&gt;In this case you also update your tweet without login to your twitter accout, b&lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;ot&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;is&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;just&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;to&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;update the&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;tweet&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;so&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;scheduled&lt;/span&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;F&lt;span class=&quot;hps&quot;&gt;irst&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;create&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;apps&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;on&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;twitter&lt;/span&gt; &lt;a href=&quot;https://dev.twitter.com/apps/new&quot; target=&quot;_blank&quot;&gt;&lt;span class=&quot;hps&quot;&gt;here&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;hps&quot;&gt;to&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;get a&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;consumer&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;key&lt;/span&gt;, &lt;span class=&quot;hps&quot;&gt;consumer&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;secret&lt;/span&gt;, &lt;span class=&quot;hps&quot;&gt;the user&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;token&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;and user&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;secret&lt;/span&gt;&lt;span class=&quot;&quot;&gt;.&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;hps&quot;&gt;then download&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;twitter&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;library&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;of&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;mat&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;harris&lt;/span&gt; &lt;a href=&quot;https://github.com/themattharris/tmhOAuth&quot; target=&quot;_blank&quot;&gt;&lt;span class=&quot;hps&quot;&gt;here&lt;/span&gt;&lt;/a&gt; &lt;span class=&quot;hps&quot;&gt;then&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;extract&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;htdocs folder&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;and then&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;rename it&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Tweetbot&lt;/span&gt;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;C&lt;span class=&quot;hps&quot;&gt;reate a&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;file&lt;/span&gt; &lt;i&gt;&lt;u&gt;&lt;b&gt;&lt;span class=&quot;hps&quot;&gt;tweet.php&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;&lt;/i&gt;, &lt;span class=&quot;hps&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the contents of&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;my&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;tweets&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;using&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;arrays like this bellow:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre class=&quot;brush:css, brush:html, brush:js&quot;&gt; &amp;gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&#39;tweet pertama&#39;, 2 =&amp;gt;&#39;tweet kedua&#39;, 3 =&amp;gt;&#39;tweet ketiga&#39;,  );
 
$f = fopen(&#39;data.txt&#39;, &#39;r&#39;);
$i = fscanf($f, &#39;%d&#39;);
$b = $i[0];
 
require &#39;tmhOAuth.php&#39;;
require &#39;tmhUtilities.php&#39;;
$tmhOAuth = new tmhOAuth(array(
  &#39;consumer_key&#39;    =&amp;gt; &#39;&#39;, // fill with consumer key
  &#39;consumer_secret&#39; =&amp;gt; &#39;&#39;, // fill with consumer secret
  &#39;user_token&#39;      =&amp;gt; &#39;&#39;, // fill with user token
  &#39;user_secret&#39;     =&amp;gt; &#39;&#39;, // fill with user secret
));
 
$code = $tmhOAuth-&amp;gt;request(&#39;POST&#39;, $tmhOAuth-&amp;gt;url(&#39;1/statuses/update&#39;), array(
  &#39;status&#39; =&amp;gt; &quot;$quote[$b]&quot;
));
 
if ($code == 200) {
  tmhUtilities::pr(json_decode($tmhOAuth-&amp;gt;response[&#39;response&#39;]));
} else {
  tmhUtilities::pr($tmhOAuth-&amp;gt;response[&#39;response&#39;]);
}
 
$f = fopen(&#39;data.txt&#39;, &#39;r+&#39; );
$count = fread($f, filesize(&#39;data.txt&#39;));
rewind($f);
$count++;
fwrite($f, $count);
ftruncate($f, ftell($f));
fclose( $f );&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Then create a&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;file&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;whose contents&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;count.txt&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;useful&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;to&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;be&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;variable&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;repetition&lt;/span&gt;. &lt;span class=&quot;hps&quot;&gt;The contents&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;of the&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;file&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;are&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;only&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;numbers&lt;/span&gt;. &lt;span class=&quot;hps&quot;&gt;I&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;use&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;to&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;run&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;php&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;cli&lt;/span&gt;. &lt;span class=&quot;hps&quot;&gt;how to&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;run it&lt;/span&gt;:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; psychology &lt;span class=&quot;hps&quot;&gt;@&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;cmyk &lt;/span&gt;: &lt;span class=&quot;hps&quot;&gt;~&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;$&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;php&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;/opt/lampp/htdocs/tweetbot/tweet.php&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Note :&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;psychology is the name of your username website&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;T&lt;span class=&quot;hps&quot;&gt;hen&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;to&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the transfers&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;could&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;use&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;crontab&lt;/span&gt;, &lt;span class=&quot;hps&quot;&gt;my example&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;will&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;run&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;every hour&lt;/span&gt;, &lt;span class=&quot;hps&quot;&gt;on&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the cronjob on your CPanel&lt;/span&gt; :&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt; &lt;/span&gt;&lt;span class=&quot;hps&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;*&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;php&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;/opt/lampp/htdocs/tweetbot/tweet.php&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; &lt;span class=&quot;hps&quot;&gt;Perhaps&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;more friends&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;can&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;develop it&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;further&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;in order to&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;become&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;more&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;attractive&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;as possible&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;by&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;using&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;mysql&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;to&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;tweet&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;or&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;other&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;contents&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;Download FULL SOURCE &lt;a href=&quot;http://japariskandar-com.googlecode.com/files/tweetbot.zip&quot; target=&quot;_blank&quot;&gt;HERE &lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://psychology-html.blogspot.com/feeds/1272048750344744592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://psychology-html.blogspot.com/2014/12/how-to-make-tweet-auto-bot-with-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1602726786903615815/posts/default/1272048750344744592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1602726786903615815/posts/default/1272048750344744592'/><link rel='alternate' type='text/html' href='http://psychology-html.blogspot.com/2014/12/how-to-make-tweet-auto-bot-with-php.html' title='How to make Tweet Auto Bot with PHP?'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05207590097851020272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwPfq55bbqJNgijVk6i4Amp6x5o9eUp4MRFm0eWJ8pQ8A_xGZfxfSpiXrAhjUcIAXU7Nav-BQP7fIY5LbXhu-XZ91v8QwFGr-3Fkhf5HnCMFAm2jtLqhgl6WP4ygtS6UG4LNSS6sGEIkw/s72-c/twitter_bot.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1602726786903615815.post-3335148742703704492</id><published>2014-10-18T01:15:00.001-07:00</published><updated>2014-10-18T01:20:42.780-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>How to redirect non-www to www with .htaccess</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXnZrLNRYWEPGKX0D2pI-3AkuCmEP6mQt6mRg0ikNFInC-TU9z_oxjD63qnJCyPopkkRHypIm_cZQvsNhTUxP5RQLqV8LOd4HHOAMLbeijFUgVI0Va_g-szniBsyRP_KJLcr5A5VnrkU8/s1600/htaccess.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXnZrLNRYWEPGKX0D2pI-3AkuCmEP6mQt6mRg0ikNFInC-TU9z_oxjD63qnJCyPopkkRHypIm_cZQvsNhTUxP5RQLqV8LOd4HHOAMLbeijFUgVI0Va_g-szniBsyRP_KJLcr5A5VnrkU8/s1600/htaccess.jpg&quot; height=&quot;320&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Hallo, Good Evening dear,&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Today we will learn about &quot;How to redirect non-www to www with .htaccess&quot;, in this case for the first word i say is .htaccess.&lt;br /&gt;
&lt;br /&gt;
According to wikipedia.com, .htacces file is a directory-level configuration file supported by several web servers, that allows for decentralized management of web server configuration. They are placed inside the web tree, and are able to override a subset of the server&#39;s global configuration for the directory that they are in, and all sub-directories.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
The original purpose of .htaccess—reflected in its name—was to allow per-directory access control, by for example requiring a password to access the content. Nowadays however, the .htaccess files can override many other configuration settings including content type and character set, CGI handlers, etc.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
If you want to redirect all non-www requests to your site to the www 
version, all you need to do is add the following code to your .htaccess 
file, just do it like this :&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;htaccess&quot; title=&quot;in your .htaccess file&quot;&gt;RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
This will redirect any requests to http://example.com to http://www.example.com. There are several benefits from doing that:&lt;span id=&quot;more-22&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;text-align: justify;&quot;&gt;
&lt;li&gt;It will avoid duplicate content in Google&lt;/li&gt;
&lt;li&gt;It will avoid the possibility of split page rank and/or split link popularity (inbound links).&lt;/li&gt;
&lt;li&gt;It&#39;s nicer, and more consistent.&lt;/li&gt;
&lt;/ul&gt;
&amp;nbsp;If you want to do the opposite, the code is very similar, and it&#39;s will be spesificate or live respon to your domain like this :&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;pre&gt;&lt;code class=&quot;htaccess&quot; title=&quot;in your .htaccess file&quot;&gt;RewriteEngine On
RewriteCond %{HTTP_HOST} !^my-domain\.com$ [NC]
RewriteRule ^(.*)$ http://my-domain.com/$1 [R=301,L]&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;

&lt;div style=&quot;text-align: justify;&quot;&gt;
In this case we are explicitly typing the domain name. I&#39;m sure it&#39;s possible to do it in a generic way, but I haven&#39;t had the time to work one out and test it. So remember to change &#39;my-domain&#39; with your domain name.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
thank&#39;s for read this :) &lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://psychology-html.blogspot.com/feeds/3335148742703704492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://psychology-html.blogspot.com/2014/10/how-to-redirect-non-www-to-www-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1602726786903615815/posts/default/3335148742703704492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1602726786903615815/posts/default/3335148742703704492'/><link rel='alternate' type='text/html' href='http://psychology-html.blogspot.com/2014/10/how-to-redirect-non-www-to-www-with.html' title='How to redirect non-www to www with .htaccess'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05207590097851020272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXnZrLNRYWEPGKX0D2pI-3AkuCmEP6mQt6mRg0ikNFInC-TU9z_oxjD63qnJCyPopkkRHypIm_cZQvsNhTUxP5RQLqV8LOd4HHOAMLbeijFUgVI0Va_g-szniBsyRP_KJLcr5A5VnrkU8/s72-c/htaccess.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1602726786903615815.post-973817336650101463</id><published>2014-09-16T03:27:00.001-07:00</published><updated>2014-12-01T22:14:51.290-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>FooTable: a jQuery Plugin for Responsive Tables</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOGq6uH33jTbYX0f2IObUYPau-ykjN_a_-jP8idNfyX1rHY1FsMNvc10jL69X7VrrwL1jx1PIgwtzVWzW83bTboRIpwh03NKPerM3DVMN-bMEdvav2FbJ_HJgfCbdULRPceDLVlThxgBs/s1600/Untitled-2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOGq6uH33jTbYX0f2IObUYPau-ykjN_a_-jP8idNfyX1rHY1FsMNvc10jL69X7VrrwL1jx1PIgwtzVWzW83bTboRIpwh03NKPerM3DVMN-bMEdvav2FbJ_HJgfCbdULRPceDLVlThxgBs/s1600/Untitled-2.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Here is the FooTable from JQuery, this is responsive table that we 
can use for our report for office, personal, and other information.&lt;br /&gt;
&lt;br /&gt;
Great things and we will discussion here in bellow :&lt;br /&gt;
Before we say this project, download it before from this link :&lt;br /&gt;
Get the source from &lt;a href=&quot;https://github.com/bradvin/FooTable&quot; target=&quot;_blank&quot;&gt;Github&lt;/a&gt;, or you can &lt;a href=&quot;https://github.com/bradvin/FooTable/archive/V2.zip&quot;&gt;download it&lt;/a&gt;&amp;nbsp;direct.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h2 id=&quot;demos&quot;&gt;
Demos &amp;amp; Documentation&amp;nbsp; &lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;At the head of your html just paste this code :&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;ol&gt; 
&lt;pre class=&quot;brush:js&quot;&gt;
&lt;script src=&quot;//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;js/footable-0.1.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
    $(function() {
      $(&#39;table&#39;).footable();
    });
&lt;/script&gt;
&lt;/pre&gt;
&lt;li&gt;&amp;nbsp;It&#39;s also likely that you have your own breakpoints. That is very easy to configure as you call the plugin.&amp;nbsp;&lt;/li&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:css, brush:html, brush:js&quot;&gt;
$(&#39;table&#39;).footable({
  breakpoints: {
    mamaBear: 1200,
    babyBear: 600
  }
}); 
&lt;/pre&gt;
&lt;li&gt;And at the last setup your coloumns like this bellow :&lt;/li&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:css, brush:html, brush:js&quot;&gt; 
&lt;table class=&quot;footable&quot; data-filter=&quot;#filter&quot;&gt;
&lt;thead&gt;
    &lt;tr&gt;
      &lt;th data-class=&quot;expand&quot; data-sort-initial=&quot;descending&quot;&gt;First Name
      &lt;/th&gt;
      &lt;th data-sort-ignore=&quot;true&quot;&gt;Last Name
      &lt;/th&gt;
      &lt;th data-hide=&quot;phone,tablet&quot;&gt;Job Title
      &lt;/th&gt;
      &lt;th data-hide=&quot;phone,tablet&quot; data-type=&quot;numeric&quot;&gt;DOB
      &lt;/th&gt;
      &lt;th data-hide=&quot;phone&quot; data-type=&quot;numeric&quot;&gt;Status
      &lt;/th&gt;
    &lt;/tr&gt;
&lt;/thead&gt;
&lt;/table&gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;li&gt;You can quite easily tell, just from the markup, that the table will work in the following way:&lt;br /&gt;
- The table will be filtered by an input with id &quot;filter&quot; (data-filter=&quot;#filter&quot;)&lt;br /&gt;
- The table will be sorted initially by the First Name column and it 
will be sorted in descending order (data-sort-initial=&quot;descending&quot;)&lt;br /&gt;
- The Last Name column cannot be sorted (data-sort-ignore=&quot;true&quot;)&lt;br /&gt;
- The Job Title and DOB columns will be hidden on phone and tablet (data-hide=&quot;phone,tablet&quot;)&lt;br /&gt;
- The Status column will be hidden on phones (data-hide=&quot;phone&quot;)&lt;br /&gt;
- The DOB and Status columns use numeric data (data-type=&quot;numeric&quot;)&lt;br /&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
just see the demo in here :&lt;br /&gt;
&lt;a href=&quot;http://themergency.com/footable-demo/demo-sorting.htm&quot; target=&quot;_blank&quot;&gt;DEMO SORTING&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
thank for read this tutorial and also i say thanks to http://css-tricks.com
</content><link rel='replies' type='application/atom+xml' href='http://psychology-html.blogspot.com/feeds/973817336650101463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://psychology-html.blogspot.com/2014/09/footable-jquery-plugin-for-responsive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1602726786903615815/posts/default/973817336650101463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1602726786903615815/posts/default/973817336650101463'/><link rel='alternate' type='text/html' href='http://psychology-html.blogspot.com/2014/09/footable-jquery-plugin-for-responsive.html' title='FooTable: a jQuery Plugin for Responsive Tables'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05207590097851020272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOGq6uH33jTbYX0f2IObUYPau-ykjN_a_-jP8idNfyX1rHY1FsMNvc10jL69X7VrrwL1jx1PIgwtzVWzW83bTboRIpwh03NKPerM3DVMN-bMEdvav2FbJ_HJgfCbdULRPceDLVlThxgBs/s72-c/Untitled-2.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1602726786903615815.post-8820514042799457916</id><published>2014-09-05T22:50:00.003-07:00</published><updated>2014-09-05T23:16:58.134-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="html"/><category scheme="http://www.blogger.com/atom/ns#" term="jquery"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>JQUERY Explainded</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKKUgEhWIQbxhrwCeAkAZ7RMDOoq0l64ZsA1xshZcvs-08sVRFtZUgWGjtduRTg0xdnaXJhl4bau8JKn3nWBxcKlQ7zaS_v_g6j5YI3Oqs0ReTjh9WA6i-5Wv-r4JdYmMgKFeIBpP1kZQ/s1600/amrin+simanullang.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKKUgEhWIQbxhrwCeAkAZ7RMDOoq0l64ZsA1xshZcvs-08sVRFtZUgWGjtduRTg0xdnaXJhl4bau8JKn3nWBxcKlQ7zaS_v_g6j5YI3Oqs0ReTjh9WA6i-5Wv-r4JdYmMgKFeIBpP1kZQ/s1600/amrin+simanullang.jpg&quot; height=&quot;320&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h3 style=&quot;text-align: left;&quot;&gt;
&lt;i&gt;&lt;u&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Today&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;we&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;will&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;try to discuss&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;language&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;that has been&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;growing steadily&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Jquery&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;with&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the newest update&lt;/span&gt;. &lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/h3&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;b&gt;&lt;span class=&quot;hps&quot;&gt;Jquery&lt;/span&gt; :&amp;nbsp; &lt;/b&gt;I&lt;span class=&quot;hps&quot;&gt;s&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;a&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;script-based&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;programming&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;language&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;combined&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;with the&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Javascript&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;language&lt;/span&gt;. &lt;span class=&quot;hps&quot;&gt;Jquery&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;language&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;helps us&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;to&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;facilitate the work of&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;our&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;website&lt;/span&gt;, &lt;span class=&quot;hps&quot;&gt;especially&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;website&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;speed up&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the process of&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the data&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the other side&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;before&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;displaying data&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;to our end landing website&lt;/span&gt;. &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.jquery.com/&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;&lt;span class=&quot;hps&quot;&gt;Jquery&lt;/span&gt; &lt;/b&gt;&lt;/a&gt;&lt;span class=&quot;hps&quot;&gt;inventor&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;himself&lt;/span&gt; &lt;span class=&quot;hps atn&quot;&gt;(&lt;/span&gt;John &lt;span class=&quot;hps&quot;&gt;Resig&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;and&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;perfected&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;by&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Dean&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Edwards&lt;/span&gt;&#39;) &lt;span class=&quot;hps&quot;&gt;have&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;tested&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;this script&lt;/span&gt;, which until &lt;span class=&quot;hps&quot;&gt;now&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;has been&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the latest&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;version&lt;/span&gt; &lt;span class=&quot;hps atn&quot;&gt;(&lt;/span&gt;v2.1.1 &lt;span class=&quot;hps&quot;&gt;or&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;quoted&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;1:11:11&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;www.jquery.com&lt;/span&gt;) &lt;span class=&quot;hps&quot;&gt;and&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;will&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;continue to&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;be developed&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;and&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;continually refined&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;for&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;comfort&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;and&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;better&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;capabilities&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;and&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;relevant&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;in the&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;present data&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;on our website&lt;/span&gt; end landing. &lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;hps&quot;&gt;Here are some&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;examples&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;of&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the application&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;of&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;language&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Jquery :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;b&gt;A. DOM Traversal and Manipulation&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Get the &amp;lt;button&amp;gt; element with the class &#39;continue&#39; and change its HTML to &#39;Next Step...&#39;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;1. $( &quot;button.continue&quot; ).html( &quot;Next Step...&quot; )&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;B. Event Handling&lt;/b&gt;&lt;br /&gt;Show the #banner-message element that is hidden with display:none in its CSS when any button in&amp;nbsp;&amp;nbsp;&amp;nbsp; #button-container is clicked.&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;1. var hiddenBox = $( &quot;#banner-message&quot; );&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;2. $( &quot;#button-container button&quot; ).on( &quot;click&quot;, function( event ) {&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;3. hiddenBox.show();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;4. });&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;C. Ajax&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;Call a local script on the server /api/getWeather with the query parameter zipcode=97201 and replace the element #weather-temp&#39;s html with the returned text&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;1. $.ajax({&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;2. url: &quot;/api/getWeather&quot;,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;3. data: {&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;4. zipcode: 97201&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;5. },&lt;br /&gt;6. success: function( data ) {&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;7. $( &quot;#weather-temp&quot; ).html( &quot;&amp;lt;strong&amp;gt;&quot; + data + &quot;&amp;lt;/strong&amp;gt; degrees&quot; );&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;8. }&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;9. });&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
That&#39;s all about Jquery Script Language, if you want to ask for something please leave a comment.&lt;br /&gt;
For more information about Jquery please see his website at &lt;b&gt;&lt;a href=&quot;http://jquery.com/&quot;&gt;http://jquery.com&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
if you want download the latest Jquery just &lt;b&gt;&lt;a href=&quot;http://jquery.com/download/&quot; target=&quot;_blank&quot;&gt;Click Here&lt;/a&gt; &lt;/b&gt;&lt;br /&gt;
regard&#39;s and thank&#39;s for read.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://psychology-html.blogspot.com/feeds/8820514042799457916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://psychology-html.blogspot.com/2014/09/jquery-explainded.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1602726786903615815/posts/default/8820514042799457916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1602726786903615815/posts/default/8820514042799457916'/><link rel='alternate' type='text/html' href='http://psychology-html.blogspot.com/2014/09/jquery-explainded.html' title='JQUERY Explainded'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05207590097851020272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKKUgEhWIQbxhrwCeAkAZ7RMDOoq0l64ZsA1xshZcvs-08sVRFtZUgWGjtduRTg0xdnaXJhl4bau8JKn3nWBxcKlQ7zaS_v_g6j5YI3Oqs0ReTjh9WA6i-5Wv-r4JdYmMgKFeIBpP1kZQ/s72-c/amrin+simanullang.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1602726786903615815.post-4128108827535916782</id><published>2014-08-29T23:17:00.002-07:00</published><updated>2014-08-30T01:12:02.620-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="google"/><category scheme="http://www.blogger.com/atom/ns#" term="html"/><category scheme="http://www.blogger.com/atom/ns#" term="other"/><category scheme="http://www.blogger.com/atom/ns#" term="php"/><category scheme="http://www.blogger.com/atom/ns#" term="template"/><category scheme="http://www.blogger.com/atom/ns#" term="tutorial"/><title type='text'>There is no Place like 404 page??</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl_X3LcHRIX2BmxwbF6nwK6l1g0b6djW5jZhAoULAXFZ6i4l1UQQ9X6RVqEx5Y9Y4kKyaee82xIQM-uFG3PLvhIpcM8WaFWLSq3mQYZY4ccLWaKXtd8chj_2q3ONbQqXfJG_vhVY1o_PA/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl_X3LcHRIX2BmxwbF6nwK6l1g0b6djW5jZhAoULAXFZ6i4l1UQQ9X6RVqEx5Y9Y4kKyaee82xIQM-uFG3PLvhIpcM8WaFWLSq3mQYZY4ccLWaKXtd8chj_2q3ONbQqXfJG_vhVY1o_PA/s1600/Untitled-1.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWpBNJWN0TFSt6daAYgkjven-0T8HHPZyIoMesw1QFBW277Cz64WHIhuumrYV1JBMTgi1DhVWNn4qwotPTN34TICErIz6vuofbhx3fiU5Fop57Jd6lTd94AnG1ykqgW97fojBog0Q5n6o/s1600/Untitled-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;u&gt;&lt;b&gt;What is 404, why not 303?or others number??&lt;/b&gt;&lt;/u&gt;&lt;/h2&gt;
Every day if you working on Internet, you will not be foreign to hearing about 404 page not found, this code found for every client who access the page can&#39;t be show on website or webpage, or other information that users find out in Internet.&lt;br /&gt;
so, we will asking why?, here is some infomation to expalin this code:&lt;br /&gt;
&lt;span class=&quot;&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;u&gt;&lt;i&gt;&lt;b&gt;&lt;span class=&quot;hps&quot;&gt;HTTP&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;code&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;was&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;developed by&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the World Wide&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Web&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Consortium&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;named&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Consortiun&lt;/span&gt; &lt;span class=&quot;hps atn&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;&quot;&gt;W3C&lt;/span&gt;&lt;span class=&quot;&quot;&gt;)&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;/u&gt; &lt;span class=&quot;hps&quot;&gt;in 1992&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;as&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;part&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;of&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the HTTP&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;0.9&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;spesifications&lt;/span&gt;. &lt;span class=&quot;hps&quot;&gt;They are defined&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;by&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Tim&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;Berners&lt;/span&gt;&lt;span class=&quot;atn&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;&quot;&gt;Lee&lt;/span&gt;&lt;span class=&quot;&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the same man&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;who&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;alone&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;find a web&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;and&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;a web&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;browser&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the first&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;time&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;in 1990&lt;/span&gt; &lt;span class=&quot;hps atn&quot;&gt;Berners-&lt;/span&gt;&lt;span class=&quot;&quot;&gt;Lee&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;likens&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;the HTTP status code&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;with&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;FTP&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;status code&lt;/span&gt;, &lt;span class=&quot;hps&quot;&gt;which&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;has existed since&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;1990&lt;/span&gt;&lt;span class=&quot;&quot;&gt;;&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;FTP&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;specifications&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;inaugurated on&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;1985&lt;/span&gt;, &lt;span class=&quot;hps&quot;&gt;although&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;FTP&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;has actually been&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;used&lt;/span&gt; &lt;span class=&quot;hps&quot;&gt;for much longer&lt;/span&gt;&lt;span class=&quot;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
if we check and analisys that number, 4 (first number of 404) is: we have error on the client side, and 0(on the middle) , mean that the error get found on sintax (page line error), and 4 is show where this error found (what group of this error), it just like archieve on our filling cabinet.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
404 also &lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;often redirecting on 400 : Bad Reques, 401 : U&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;nauthorized, and etc&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;short_text&quot; id=&quot;result_box&quot; lang=&quot;en&quot;&gt;&lt;span class=&quot;hps&quot;&gt;all of detail this number you can read on bellow, this code created by&amp;nbsp; &lt;/span&gt;&lt;/span&gt;Berners-Lee Team.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Normal Code Response :&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;100 ; Section 10.1.1: Continue &lt;/li&gt;
&lt;li&gt;101 ; Section 10.1.2: Switching Protocols&lt;/li&gt;
&lt;li&gt;200 ; Section 10.2.1: OK&lt;/li&gt;
&lt;li&gt;201 ; Section 10.2.2: Created &lt;/li&gt;
&lt;li&gt;202 ; Section 10.2.3: Accepted&lt;/li&gt;
&lt;li&gt;203 ; Section 10.2.4: Non-Authoritative Information&amp;nbsp; &lt;/li&gt;
&lt;li&gt;204 ; Section 10.2.5: No Content&lt;/li&gt;
&lt;li&gt;205 ; Section 10.2.6: Reset Content&lt;/li&gt;
&lt;li&gt;206 ; Section 10.2.7: Partial Content&lt;/li&gt;
&lt;li&gt;300 ; Section 10.3.1: Multiple Choices&lt;/li&gt;
&lt;li&gt;301 ; Section 10.3.2: Dipindahkan secara permanent&lt;/li&gt;
&lt;li&gt;302 ; Section 10.3.3: Found &lt;/li&gt;
&lt;li&gt;303 ; Section 10.3.4: See Other&lt;/li&gt;
&lt;li&gt;304 ; Section 10.3.5: Not Modified&lt;/li&gt;
&lt;li&gt;305 ; Section 10.3.6: Use Proxy &lt;/li&gt;
&lt;li&gt;307 ; Section 10.3.8: Temporary Redirect&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Server Error Side :&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;200 ; Section 10.2.1: OK&lt;/li&gt;
&lt;li&gt;201 ; Section 10.2.2: Created&lt;/li&gt;
&lt;li&gt;202 ; Section 10.2.3: Accepted&lt;/li&gt;
&lt;li&gt;203 ; Section 10.2.4: Non-Authoritative Information&lt;/li&gt;
&lt;li&gt;204 ; Section 10.2.5: No Content&lt;/li&gt;
&lt;li&gt;205 ; Section 10.2.6: Reset Content&lt;/li&gt;
&lt;li&gt;206 ; Section 10.2.7: Partial Content&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp;Client Error Side:&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;400 ; Section 10.4.1: Bad Request / Permintaan: Buruk&lt;/li&gt;
&lt;li&gt;401 ; Section 10.4.2: Unauthorized&lt;/li&gt;
&lt;li&gt;402 ; Section 10.4.3: Payment Required / Pembayaran Dibutuhkan&lt;/li&gt;
&lt;li&gt;403 ; Section 10.4.4: Forbidden&lt;/li&gt;
&lt;li&gt;404 ; Section 10.4.5: Not Found&lt;/li&gt;
&lt;li&gt;405 ; Section 10.4.6: Method Not Allowed&lt;/li&gt;
&lt;li&gt;406 ; Section 10.4.7: Not Acceptable&lt;/li&gt;
&lt;li&gt;407 ; Section 10.4.8: Proxy Authenti ation Required&lt;/li&gt;
&lt;li&gt;408 ; Section 10.4.9: Request Timeout&lt;/li&gt;
&lt;li&gt;409 ; Section 10.4.10: Conflict&lt;/li&gt;
&lt;li&gt;410 ; Section 10.4.11: Gone&lt;/li&gt;
&lt;li&gt;411 ; Section 10.4.12: Length Required&lt;/li&gt;
&lt;li&gt;412 ; Section 10.4.13: Precondition Failed&lt;/li&gt;
&lt;li&gt;413 ; Section 10.4.14: Request Entity Too Large&lt;/li&gt;
&lt;li&gt;414 ; Section 10.4.15: Request-URI Too Large&lt;/li&gt;
&lt;li&gt;415 ; Section 10.4.16: Unsupported Media Type&lt;/li&gt;
&lt;li&gt;416 ; Section 10.4.17: Requested range not satisfiable&lt;/li&gt;
&lt;li&gt;417 ; Section 10.4.18: Expectation Failed&lt;/li&gt;
&lt;li&gt;500 ; Section 10.5.1: Internal Server Error&lt;/li&gt;
&lt;li&gt;501 ; Section 10.5.2: Not Implemented&lt;/li&gt;
&lt;li&gt;502 ; Section 10.5.3: Bad Gateway&lt;/li&gt;
&lt;li&gt;503 ; Section 10.5.4: Service Unavailable&lt;/li&gt;
&lt;li&gt;504 ; Section 10.5.5: Gateway Time-out&lt;/li&gt;
&lt;li&gt;505 ; Section 10.5.6: HTTP Version not supported&lt;/li&gt;
&lt;/ul&gt;
we think that after read this article, you maybe know why must be 404?, and why not should other numbers, thanks for read!&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://psychology-html.blogspot.com/feeds/4128108827535916782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://psychology-html.blogspot.com/2014/08/there-is-no-hell-place-like-404-page.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1602726786903615815/posts/default/4128108827535916782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1602726786903615815/posts/default/4128108827535916782'/><link rel='alternate' type='text/html' href='http://psychology-html.blogspot.com/2014/08/there-is-no-hell-place-like-404-page.html' title='There is no Place like 404 page??'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05207590097851020272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl_X3LcHRIX2BmxwbF6nwK6l1g0b6djW5jZhAoULAXFZ6i4l1UQQ9X6RVqEx5Y9Y4kKyaee82xIQM-uFG3PLvhIpcM8WaFWLSq3mQYZY4ccLWaKXtd8chj_2q3ONbQqXfJG_vhVY1o_PA/s72-c/Untitled-1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>