Previous I have written an article about formating interger into number of decimal places in Java. The main reason to store money value in integer in to prevent loss in precision. For example the actual value for 12.33 in float could be 12.3333333333...; while 1233 in integer is always 1233. Today I will be showing you the same code but in PHP language. I know you can do the … [Read more...]
Archives for April 2009
PHP: session_start() – No such file or directory error
Have you encountered the following PHP error (or something similar) before in your Windows Vista? Warning: session_start() [function.session-start]: open(C:\Users\YOURNAME\AppData\Local\Temp\php\session\sess_ficdel21e6lupsojqdk62ofts5, O_RDWR) failed: No such file or directory (2) in C:\webapp\folder\index.php on line 24 The solution to the above error is really simple. … [Read more...]
How to Request Reconsideration for Inclusion in Google Search Results
When a site's traffic from Google search engine dropped significantly or new site with a new domain has no traffic at all from Google search engine, you can expect that your site is no longer appear in Google's search results. … [Read more...]
WordPress Plugin – Default Trackbacks
Default Trackbacks is a wordpress plugin that sends trackback to a list of preset URLs. It is enhanced version of my old Default Trackback. The old Default Trackbacks plugin store a list of predefiend URLs in text file while the new one store the list of URLs in Wordpress database. … [Read more...]
How to Monetize Your Youtube Video
If you have an Youtube account, always upload videos to Youtube and receive quite a lot of feedback on your Youtube video. Then you can make some money from your video. What? Earn money by publishing video? Yes, you can! If you already have an Google Adsense account, you can add Video Unit to your video. Video Units are embedded, customizable video players featuring content … [Read more...]
