<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Thanks to antville.org</title>
    <link>https://oksoft.antville.org/</link>
    <description>Adding Value with limited resources</description>
    <language>en</language>
    <pubDate>Wed, 17 Jun 2026 19:33:04 GMT</pubDate>
    <dc:date>2026-06-17T19:33:04Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>php variables</title>
      <link>https://oksoft.antville.org/stories/2152235/</link>
      <description>&lt;p&gt;It is highly recommended to increase the following limits in /etc/php.ini so that uploads through PHP will work as expected.&lt;/p&gt;&lt;h1&gt;php -r&amp;quot;phpinfo();&amp;quot; | grep upload&lt;/h1&gt;&lt;p&gt;file_uploads =&amp;gt; On =&amp;gt; Onmax_file_uploads =&amp;gt; 20 =&amp;gt; 20upload_max_filesize =&amp;gt; 2M =&amp;gt; 2M&lt;/p&gt;&lt;p&gt;Restart http deamon usually using the command:/etc/init.d/httpd restart&lt;/p&gt;</description>
      <pubDate>Tue, 19 Feb 2013 09:20:14 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/2152235/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2013-02-19T09:20:14Z</dc:date>
    </item>
    <item>
      <title>php cookies</title>
      <link>https://oksoft.antville.org/stories/2131192/</link>
      <description>&lt;p&gt;The global array $_COOKIE is used to retrieve the cookie value for subsequent page requests. Like...&lt;/p&gt;&lt;?php$visits = 1;if (isset($_COOKIE["visits"])) {    $visits = (int)$_COOKIE["visits"];}setcookie("visits", $visits + 1, time() + (60 * 60 * 24 * 30));echo "You have visited this page $visits time(s).";</description>
      <pubDate>Thu, 26 Jul 2012 12:30:09 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/2131192/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2012-07-26T12:30:09Z</dc:date>
    </item>
    <item>
      <title>Curling PHP</title>
      <link>https://oksoft.antville.org/stories/2045918/</link>
      <description>&lt;p&gt;CURL can be used very effectively using PHP. Here is an example.&lt;/p&gt;&lt;h1&gt;cat curl.php&lt;/h1&gt;&lt;?php$ch = curl_init("http://www.google.com/");$fp = fopen("example.txt", "w");curl_setopt($ch, CURLOPT_FILE, $fp);curl_setopt($ch, CURLOPT_HEADER, 0);curl_exec($ch);curl_close($ch);fclose($fp);?&gt;</description>
      <pubDate>Thu, 17 Feb 2011 04:46:00 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/2045918/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2011-02-17T04:46:00Z</dc:date>
    </item>
    <item>
      <title>Current Directory Listing</title>
      <link>https://oksoft.antville.org/stories/2039264/</link>
      <description>&lt;p&gt;Here is the code to show the files from the current directory.&lt;code&gt;&lt;/p&gt;&lt;?php if ($handle = opendir('.')) {   while (false !== ($file = readdir($handle)))      {          if ($file != "." &amp;&amp; $file != "..")  {          $thelist .= '&lt;a href="'.$file.'"&gt;'.$file.'&lt;/a&gt; &lt;p&gt; ';          }       }  closedir($handle);  }?&gt;&lt;P&gt;List of files:&lt;/p&gt;&lt;P&gt;&lt;?=$thelist?&gt;&lt;/p&gt;&lt;/code&gt;</description>
      <pubDate>Fri, 07 Jan 2011 09:47:47 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/2039264/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2011-01-07T09:47:47Z</dc:date>
    </item>
    <item>
      <title>Upgrade PEAR</title>
      <link>https://oksoft.antville.org/stories/1981953/</link>
      <description>&lt;p&gt;I spent a lot of time figuring out how to upgrade my PEAR package.The trick is to install the PEAR package with –force to make it go through&lt;/p&gt;&lt;h1&gt;pear upgrade --force PEAR&lt;/h1&gt;</description>
      <pubDate>Fri, 19 Mar 2010 07:28:23 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/1981953/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2010-03-19T07:28:23Z</dc:date>
    </item>
    <item>
      <title>Export to Excel</title>
      <link>https://oksoft.antville.org/stories/1922241/</link>
      <description>&lt;p&gt;Just create a regular .PHP file, where you output your data in a nice little html-table. Then place the following snippet in the top of that file:&lt;/p&gt;&lt;p&gt;header(&amp;quot;Content-type: application/vnd.ms-excel&amp;quot;);header(&amp;quot;Content-Disposition: attachment; filename=excel.xls&amp;quot;);&lt;/p&gt;&lt;p&gt;And it’s just that easy. If you open the page, you’ll see a download-window asking you where to place the file.&lt;/p&gt;</description>
      <pubDate>Fri, 07 Aug 2009 07:57:11 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/1922241/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2009-08-07T07:57:11Z</dc:date>
    </item>
    <item>
      <title>Show only PHP errors</title>
      <link>https://oksoft.antville.org/stories/1867924/</link>
      <description>&lt;p&gt;Open /etc/php.ini file&lt;/p&gt;&lt;h1&gt;vi /etc/php.ini&lt;/h1&gt;&lt;p&gt;Set error_reporting as follows:&lt;/p&gt;&lt;p&gt;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR&lt;/p&gt;&lt;p&gt;Alternately, you can show all errors, except for notices and coding standards warnings&lt;/p&gt;&lt;p&gt;error_reporting = E_ALL &amp;amp; ~E_NOTICE&lt;/p&gt;&lt;p&gt;Save and close the file. Restart apache web server:&lt;/p&gt;&lt;h1&gt;/etc/init.d/httpd restart&lt;/h1&gt;&lt;p&gt;&lt;a href="http://tinyurl.com/8zczkk"&gt;tinyurl.com&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 31 Dec 2008 11:16:02 GMT</pubDate>
      <guid>https://oksoft.antville.org/stories/1867924/</guid>
      <dc:creator>shantanuo</dc:creator>
      <dc:date>2008-12-31T11:16:02Z</dc:date>
    </item>
  </channel>
</rss>

