Subesh Pokhrel's Blog – Magento Development Tips,PHP,Google Maps
PHP & Magento Tips & Tutorials

Archive for June, 2008

Everybody is already familiar with WYSIWYG editor. Before, doing CMS projects I used to use fckeditor, and I always had a problem with its bad design and loading time. Though you can config the editor to just the actions you need. I still felt something was not right about it. And I searched about editors, then I came across TinyMCE editor.

Continue reading “Configuring TinyMCE:Simple Setup” »

  • Share/Bookmark

I have already posted similar post for finding out the latitude and longitude of a place using Google maps, but when I studied the traffic details and found out that when people visit that post, they sometime come with keywords like zipcode+latitude and longitudes, so I thought it would be better to them to post another article, giving them what they exactly want.

Continue reading “Latitude and Longitude Of a Place in Google Maps Using Zip Code” »

  • Share/Bookmark

On doing one of my project, I came across this situation when I need to find out whether the domain name supplied by the user is available or not? I then came up with a solution, here’s is what I did. But before that let me explain somethings. There is something called WHOIS LOOKUP. WHOIS LOOKUP is action relating to look on official WHOIS database server for the information related to domain name.

Continue reading “Checking if the domain is registered or not ?” »

  • Share/Bookmark

I was just adding my site on Alexa and in some minutes Alexa generated a thumbnail of my html site. And again it was same with blog catelog. So I thought is there any PHP code that crawled the site and generates its image thumb? After a lots of research I came out with these. Remember, this only works in windows server.
There is one thing called IECapt.exe ( A Internet Explorer Web Page Rendering Capture Utility). This renders the page and generate thumbnail of it. You can download it from IECapt.exe. And to run that through php here’s the code.

Continue reading “How To Generate Thumbnail of HTML Pages” »

  • Share/Bookmark

I could not stop myself from posting this blog post, because it has been over four weeks I launched this site and its Alexa ranking has improved by 24 million in three days interval. As I first started it was around 29 Million. After a week it went to 25 million figure, it was 25,214,769 on 5th June to be specific . And today on 8th June it has 1,996,306 ranking. So in three days the ranking took a 24 million leap. I don’t know if its natural or “alexaral” but there is no any other pleasure for those people, who keep on looking for their page rank or alexa rank of there site like me, to have such a giant leap.

  • Share/Bookmark

Most of us, programmer have conditions of calculating the difference between timestamps, i.e the difference between now and the timestamp from mysql result. The logic for this is pretty simple. Just convert the two timestamps to Unix time format and take the difference between the two. Next convert the difference into corresponding days,hour,minutes or in any unit you want to.

Continue reading “Calculating the difference between timestamps in PHP” »

  • Share/Bookmark

Search engine optimization by SEO Design Solutions