google Maps JavaScript API By Example

Below written code is a example of google map api which you can find from google when you sign up for google map. Using your site url and also there are a key that’s are valid only for your given link or site.
Hope your script running nice But one things!

You may confused!
<code>
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
</code>
How can you set GLatlng parameter! is not it?
yap This two parameter is

1) Latitude
2) Longitude

For More about Latitude and Longitude Just search in google by writing
1) define:Latitude
2) define:Longitude

You may understand just visit this link(By Yahoo inc) where you find a given addresses latitude and longitude
http://www.batchgeocode.com/lookup/
Continue reading “google Maps JavaScript API By Example”

other to FLV file conversion in PHP

Hi It’s really painful to convert any extension of video file to flv which is really lightweight for video playing on web, If you are not using HTML 5 yet may be you are in that painful situation where I was 🙂 BTW using this below written php code any one can convert any video file to flv.
Requirements : ffmpeg software
You can download this software from http://www.videohelp.com/tools/ffmpeg
Continue reading “other to FLV file conversion in PHP”

tiny_mce ibrowser setting

Sometime tiny_mce plugins ibrowser does not work properly in live server. Common cause is for wrong ibrowser settings like path settings and chmod 777 or 755 change
I want to write some settings for tiny_mce ibrowser it will help everyone who trying to use ibrowser in tiny_mce.
Option :
1) if you are working with php 4.x.x in your local machine and your ibrowser are working nice
when you upload it in live project and you server contain php 5.x.x then you must have to change the ibrowser
tiny_mce/plugins/ibrowser/scripts/phpThumb folder from
http://phpthumb.sourceforge.net
2) if your local machine with php 5.x.x and ibrowser working nice it is not required to change in live server.
Continue reading “tiny_mce ibrowser setting”

what is Database Index in MySql?

If in a Database Table there are no index exist like primary or unique key then when you write a query for search anything from this table of course the search time cost will higher then when you use index in this table.

Cause in without index table the search perform must in entire table if in this table huge amount of record exist then you may find it is slow cause entire table searching.

Where if you use column index then searching cost will minimize from previous time cost. Cause when you use index it it will perform the search operation only on indexed row.Continue reading “what is Database Index in MySql?”