<?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>justepri.web.id &#187; PHP</title>
	<atom:link href="http://justepri.web.id/category/php/feed" rel="self" type="application/rss+xml" />
	<link>http://justepri.web.id</link>
	<description>Tips, Tricks, Computer Science, News, Reviews, Tutorials</description>
	<lastBuildDate>Thu, 21 Jan 2010 06:44:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Accelerate Search Plugin Wordpress</title>
		<link>http://justepri.web.id/how-to-accelerate-search-plugin-wordpress</link>
		<comments>http://justepri.web.id/how-to-accelerate-search-plugin-wordpress#comments</comments>
		<pubDate>Fri, 17 Jul 2009 12:59:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[accelerate]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://justepri.web.id/?p=9</guid>
		<description><![CDATA[One trick to overcome this is to reduce the number of plugins list displayed per page. For example only 10. By displaying a list of plugins found in up to 10 only, it will speed up the process of data requests


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!--INFOLINKS_ON--><p>You may have used to install a plugin in wordpress via online. This method is very simple and easy to do. To find a plugin that we need, we simply enter the keyword (keyword) and press the search button. To see who has pugin high popularity, simply by clicking Download.</p>
<p>But sometimes, to see a list of plugins that we need a long time because of slow internet connection we have. By default, wordpress will display a list of up to 24 plugins found. This may be a problem for you who have an internet connection is slow or very slow. Even sometimes appearing only HTTP error messages.</p>
<p>One trick to overcome this is to reduce the number of plugins list displayed per page. For example only 10. By displaying a list of plugins found in up to 10 only, it will speed up the process of data requests.</p>
<p>Please open the file <strong>/ wp-admin/include/plugin-install.php on line 35</strong>.</p>
<p><code>$ args-&gt; per_page = 24;</code></p>
<p>Change the value of 24 to 10</p>
<p><code>$ args-&gt; per_page = 10;</code></p>
<p>You do not have to change the numbers 24 to 10, adjust your needs and speed of your connection. If you have a high enough connection, you may change it with numbers above 24.</p>
<p>So .. I hope to help</p>
<!--INFOLINKS_OFF--><h4>Incoming search terms for the article:</h4><div><a href="http://justepri.web.id/search/how+to+accelerate+search+in+wordpress" title="how to accelerate search in wordpress">how to accelerate search in wordpress</a>&nbsp;<a href="http://justepri.web.id/search/how+to+accelerate+wordpress" title="how to accelerate wordpress">how to accelerate wordpress</a>&nbsp;<a href="http://justepri.web.id/search/incoming+keyword+to+this+page+plugin+wordpress" title="Incoming keyword to this page plugin wordpress">Incoming keyword to this page plugin wordpress</a>&nbsp;<a href="http://justepri.web.id/search/incoming+search+terms+for+the+article+wordpress+script+plugin" title="Incoming Search Terms for the Article wordpress script plugin">Incoming Search Terms for the Article wordpress script plugin</a>&nbsp;<a href="http://justepri.web.id/search/memasang+search+meter+wordpress" title="memasang search meter wordpress">memasang search meter wordpress</a>&nbsp;<a href="http://justepri.web.id/search/plugin-install+php+slow+error+wordpress" title="plugin-install php slow error wordpress">plugin-install php slow error wordpress</a>&nbsp;<a href="http://justepri.web.id/search/recent+searches+plugin" title="Recent Searches plugin">Recent Searches plugin</a>&nbsp;<a href="http://justepri.web.id/search/search+meter+wordpress+script+recent+search" title="search meter wordpress script recent search">search meter wordpress script recent search</a>&nbsp;<a href="http://justepri.web.id/search/wordpress+plugin+search" title="wordpress plugin search">wordpress plugin search</a>&nbsp;</div><!-- SEO SearchTerms Tagging 2 plugin took 1.428 ms -->

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://justepri.web.id/how-to-accelerate-search-plugin-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Addressing HTTP Error When Requesting API in Wordpress</title>
		<link>http://justepri.web.id/addressing-http-error-when-requesting-api-in-wordpress</link>
		<comments>http://justepri.web.id/addressing-http-error-when-requesting-api-in-wordpress#comments</comments>
		<pubDate>Fri, 17 Jul 2009 11:45:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[api request]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://justepri.web.id/?p=6</guid>
		<description><![CDATA[The problem that occurs is at Http Error request to the API. The message appears "An Unexpected HTTP error occurred during the API request". Following discussion


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!--INFOLINKS_ON--><p>Frankly I am not familiar with that name ng-blog. Even so, I&#8217;m not one new to the website.Because during this time that I have more I spend with Joomla. Recently I started glancing at cms which is so global.</p>
<p>Worpress &#8230; cms yes this is incredible. In addition to the Open Source nature, the support of the developers are also very high. Plugins that are available even been so many. Moreover, we can find plugins that we need a back-end via our blog and then install it. Super once.</p>
<p>However, the plugin installation process online is not without obstacles. The problem that occurs is at Http Error request to the API. The message appears &#8220;An Unexpected HTTP error occurred during the API request&#8221;. Unexpected error occurred during the request to the API. But it is not clear what the mistake was happening that made me wonder.</p>
<p>From the results of googling, I earn a little guidance. It is probably due to the influence of mod_security. I try to disable mod_security by htaccess. Result &#8230;.?</p>
<p>Experiment was a failure. Security module can not be disabled. Er it turns out, the security module on the server that I rent is mod_security2 that he simply can not be disabled by the user using. Htaccess.</p>
<p>Finally I decided to seek his own cause by doing a search on PHP scripts. During several hours of searching, finally found the cause, too. Following discussion.</p>
<p>The cause of error is too long to process the request API plugin in wordpress server timeout causing operation. By default, wordpress allow time milisecond 5000 aka 5 seconds to reqeust plugin. If within 5 seconds does not also get a replay, then the process will be terminated and there was an error &#8220;An Unexpected HTTP error occurred during the API request&#8221;. For that, we need to change the number 5 is a number greater than 5. I personally replaced it with the number 30.</p>
<p>What is the scriptnya &#8230;?<br />
Please open the file <strong>/wp_includes/http.php</strong> on line <strong>223</strong>.</p>
<blockquote><p><code>'timeout' =&gt; apply_filters ( 'http_request_timeout', 5),</code></p></blockquote>
<p>Change the script above becomes:</p>
<blockquote><p><code>'timeout' =&gt; apply_filters ( 'http_request_timeout', 30),</code></p></blockquote>
<p>By changing the value 5 to 30, then have time to request a plugin API to be longer. This way powerful enough to overcome the problems above.</p>
<p>Good try &#8230;..</p>
<!--INFOLINKS_OFF--><h4>Incoming search terms for the article:</h4><div><a href="http://justepri.web.id/search/an+unexpected+http+error+occurred+during+the+api+request" title="an unexpected http error occurred during the api request">an unexpected http error occurred during the api request</a>&nbsp;<a href="http://justepri.web.id/search/an+unexpected+http+error+occured+during+the+api+request" title="An Unexpected HTTP Error occured during the API request">An Unexpected HTTP Error occured during the API request</a>&nbsp;<a href="http://justepri.web.id/search/wordpress+3+an+unexpected+http+error+occurred+during+the+api+request" title="wordpress 3 An Unexpected HTTP Error occurred during the API request">wordpress 3 An Unexpected HTTP Error occurred during the API request</a>&nbsp;<a href="http://justepri.web.id/search/an+unexpected+error+occurred+during+http+request+api" title="An unexpected error occurred during HTTP request API">An unexpected error occurred during HTTP request API</a>&nbsp;<a href="http://justepri.web.id/search/search+plugin+an+unexpected+http+error+occurred+during+the+api+request" title="search plugin An Unexpected HTTP Error occurred during the API request">search plugin An Unexpected HTTP Error occurred during the API request</a>&nbsp;<a href="http://justepri.web.id/search/wordpress+an+unexpected+http+error+occurred+during+the+api+request" title="wordpress an unexpected http error occurred during the api request">wordpress an unexpected http error occurred during the api request</a>&nbsp;<a href="http://justepri.web.id/search/--post+related+search--" title="--Post Related Search--">--Post Related Search--</a>&nbsp;<a href="http://justepri.web.id/search/unexpected+http+error+occurred+during+the+api+request" title="unexpected http error occurred during the API request">unexpected http error occurred during the API request</a>&nbsp;<a href="http://justepri.web.id/search/wp3+an+unexpected+http+error+occurred+during+the+api+request" title="WP3 An Unexpected HTTP Error occurred during the API request">WP3 An Unexpected HTTP Error occurred during the API request</a>&nbsp;<a href="http://justepri.web.id/search/http+error+wordpress" title="http error wordpress">http error wordpress</a>&nbsp;<a href="http://justepri.web.id/search/wordpress+plugins+an+unexpected+http+error+occurred+during+the+api+request" title="wordpress plugins An Unexpected HTTP Error occurred during the API request">wordpress plugins An Unexpected HTTP Error occurred during the API request</a>&nbsp;<a href="http://justepri.web.id/search/theme+an+unexpected+http+error+occured+during+the+api+request+wordpress" title="theme An Unexpected HTTP Error occured during the API request wordpress">theme An Unexpected HTTP Error occured during the API request wordpress</a>&nbsp;<a href="http://justepri.web.id/search/mengatasi+masalah+pada+lambatnya+koneksi+server+apache" title="mengatasi masalah pada lambatnya koneksi server apache">mengatasi masalah pada lambatnya koneksi server apache</a>&nbsp;<a href="http://justepri.web.id/search/solusi+web+acceleration+eror" title="solusi web acceleration eror">solusi web acceleration eror</a>&nbsp;<a href="http://justepri.web.id/search/plugin+install+an+unexpected+http+error+occurred+during+the+api+request" title="plugin install An Unexpected HTTP Error occurred during the API request">plugin install An Unexpected HTTP Error occurred during the API request</a>&nbsp;<a href="http://justepri.web.id/search/solusi+http+error" title="solusi http error">solusi http error</a>&nbsp;<a href="http://justepri.web.id/search/registry+cleaner+comments+links+could+be+nofollow+free" title="registry cleaner Comments links could be nofollow free">registry cleaner Comments links could be nofollow free</a>&nbsp;<a href="http://justepri.web.id/search/searching+for+plugins+in+wordpress+an+unexpected+http+error+occurred+during+the+api+request" title="searching for plugins in wordpress An Unexpected HTTP Error occurred during the API request">searching for plugins in wordpress An Unexpected HTTP Error occurred during the API request</a>&nbsp;<a href="http://justepri.web.id/search/plugin+search+erro+api+http+wordpress" title="plugin search erro API HTTP wordpress">plugin search erro API HTTP wordpress</a>&nbsp;<a href="http://justepri.web.id/search/search+theme+an+unexpected+http+error+occured+during+the+api+request" title="search theme An Unexpected HTTP Error occured during the API request">search theme An Unexpected HTTP Error occured during the API request</a>&nbsp;</div><!-- SEO SearchTerms Tagging 2 plugin took 2.834 ms -->

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://justepri.web.id/addressing-http-error-when-requesting-api-in-wordpress/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Load File Word Document with PHP</title>
		<link>http://justepri.web.id/load-file-word-document-with-php</link>
		<comments>http://justepri.web.id/load-file-word-document-with-php#comments</comments>
		<pubDate>Wed, 15 Jul 2009 11:55:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[document]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[load]]></category>
		<category><![CDATA[word]]></category>

		<guid isPermaLink="false">http://justepri.web.id/?p=3</guid>
		<description><![CDATA[If we only use the above code to load a  Doc file, then all the tags that should not be displayed, will be displayed. Thus, it would appear chaotic. Texts so that we do not want do not come then we have to convert first. How do I ...?


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!--INFOLINKS_ON--><p align="justify">You might even think about. Is PHP able to load Doc files.<br />
The answer &#8230;. it could.</p>
<p>Maybe you&#8217;ve done it using the following script:</p>
<blockquote><p><span style="font-family: monospace; line-height: 20px; font-size: 12px; color: #0000ff;">file_get_contents($filename);</span></p></blockquote>
<p>The above code will run smoothly for the file type plain text. However, it will be a problem if we file type is a word document.</p>
<p>If we only use the above code to load a  Doc file, then all the tags that should not be displayed, will be displayed. Thus, it would appear chaotic. Texts so that we do not want do not come then we have to convert first. How do I &#8230;?</p>
<p>The problem above can be overcome with the following script snippet:</p>
<blockquote>
<p style="padding-top: 0px; padding-right: 0px; padding-bottom: 10px; padding-left: 0px; margin: 0px;" align="justify"><span style="font-family: 'courier new', courier; color: #0000ff;"><code>function parseWord($filename) {<br />
$fileHandle = fopen($filename, "r");<br />
$line = @fread($fileHandle, filesize($userDoc));<br />
$lines = explode(chr(0x0D),$line);<br />
$outtext = "";<br />
foreach($lines as $thisline)<br />
{<br />
$pos = strpos($thisline, chr(0x00));<br />
if (($pos !== FALSE)||(strlen($thisline)==0)){<br />
} else {<br />
$outtext .= $thisline." ";<br />
}<br />
}<br />
$outtext = preg_replace("/[^a-zA-Z0-9\s\,\.\-\n\r\t@\/\_\(\)]/","",$outtext);<br />
return $outtext;<br />
}</code></span></p>
<p style="padding-top: 0px; padding-right: 0px; padding-bottom: 10px; padding-left: 0px; margin: 0px;" align="justify"><span style="font-family: 'courier new', courier; color: #0000ff;">$text = parseWord($filename);</span></p>
</blockquote>
<p>Maybe there are some words that do not want that still appears. But at least, this can be a little help you.</p>
<p>Good luck &#8230; and develop more</p>
<!--INFOLINKS_OFF--><h4>Incoming search terms for the article:</h4><div><a href="http://justepri.web.id/search/php+word+doc" title="php word doc">php word doc</a>&nbsp;<a href="http://justepri.web.id/search/php+load+file" title="php load file">php load file</a>&nbsp;<a href="http://justepri.web.id/search/web+comments+links+could+be+nofollow+free" title="web Comments links could be nofollow free">web Comments links could be nofollow free</a>&nbsp;<a href="http://justepri.web.id/search/php+loadfile" title="php loadfile">php loadfile</a>&nbsp;<a href="http://justepri.web.id/search/php+word+document+variables" title="php word document variables">php word document variables</a>&nbsp;<a href="http://justepri.web.id/search/php+load+doc+files" title="php load doc files">php load doc files</a>&nbsp;<a href="http://justepri.web.id/search/php+word+document" title="php word document">php word document</a>&nbsp;<a href="http://justepri.web.id/search/php+load+word+document" title="php load word document">php load word document</a>&nbsp;<a href="http://justepri.web.id/search/comments+links+could+be+nofollow+free" title="Comments links could be nofollow free">Comments links could be nofollow free</a>&nbsp;<a href="http://justepri.web.id/search/how+to+show+content+file+doc+with+php" title="how to show content file doc with PHP">how to show content file doc with PHP</a>&nbsp;<a href="http://justepri.web.id/search/load+file+text+with+php" title="load file text with php">load file text with php</a>&nbsp;<a href="http://justepri.web.id/search/load+word+file+php" title="load word file php">load word file php</a>&nbsp;<a href="http://justepri.web.id/search/php+preview+a+word+document" title="php preview a word document">php preview a word document</a>&nbsp;<a href="http://justepri.web.id/search/how+to+display+content+word+in+webpage+php" title="how to display content word in webpage php">how to display content word in webpage php</a>&nbsp;<a href="http://justepri.web.id/search/load+doc+php" title="load doc php">load doc php</a>&nbsp;<a href="http://justepri.web.id/search/how+to+display+word+doc+in+web+page+using+php" title="how to display word doc in web page using php">how to display word doc in web page using php</a>&nbsp;<a href="http://justepri.web.id/search/php+script+edit+file+word" title="PHP script edit file word">PHP script edit file word</a>&nbsp;<a href="http://justepri.web.id/search/php+preview+word+document" title="php preview word document">php preview word document</a>&nbsp;<a href="http://justepri.web.id/search/load+document+php" title="load document php">load document php</a>&nbsp;<a href="http://justepri.web.id/search/display+word+doc+with+php" title="display word doc with php">display word doc with php</a>&nbsp;</div><!-- SEO SearchTerms Tagging 2 plugin took 2.696 ms -->

<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://justepri.web.id/load-file-word-document-with-php/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>
