2010 in review


The stats helper monkeys at WordPress.com mulled over how this blog did in 2010, and here’s a high level summary of its overall blog health:

Healthy blog!

The Blog-Health-o-Meter™ reads Wow.

Crunchy numbers

Featured image

A helper monkey made this abstract painting, inspired by your stats.

About 3 million people visit the Taj Mahal every year. This blog was viewed about 30,000 times in 2010. If it were the Taj Mahal, it would take about 4 days for that many people to see it.

In 2010, there were 13 new posts, growing the total archive of this blog to 46 posts. There was 1 picture uploaded, taking a total of 5kb.

The busiest day of the year was September 22nd with 160 views. The most popular post that day was How to Get the Current Page URL.

Where did they come from?

The top referring sites in 2010 were extensions.joomla.org, en.wordpress.com, google.co.in, google.com, and facebook.com.

Some visitors came searching, mostly for wordpress get page url, wordpress get current page, joomla get current url, openbravo pos mysql, and wordpress current page url.

Attractions in 2010

These are the posts and pages that got the most views in 2010.

1

How to Get the Current Page URL November 2008
7 comments

2

Openbravo POS systen intregation with MySql October 2008
33 comments

3

Select random value from MySQL database table. March 2009
9 comments

4

PS Quotes for joomla 1.5.* February 2009
11 comments

5

Adding custom columns/fields to Joomla article May 2010
14 comments

Advertisements

How to create schema for Oracle APEX Workspace?


If you choose to create a schema while creating the workspace in Oracle Application Express administration service, APEX will create a brand new tablespace as well. This may not be an ideal situation. Having too many tablespaces, specially when it is not required, adds management and administrative overhead.

You can use the following script to create the schema and then just use this schema when you are creating the worksace.

— Connect as SYSTEM or DBA User
$ sqlplus system/password@XE

— Create the new Schema/User
CREATE USER APEXAPPS IDENTIFIED BY APEXAPPS
DEFAULT TABLESPACE APEXAPPS_TS
TEMPORARY TABLESPACE TEMP;

— Grant quota on assigned tablespace
ALTER USER APEXAPPS QUOTA 10M ON APEXAPPS_TS ;

— Grant Role Priviledge
GRANT “CONNECT” TO APEXAPPS ;
ALTER USER APEXAPPS DEFAULT ROLE “CONNECT”;

— Grant system privileges
GRANT CREATE JOB TO APEXAPPS ;
GRANT CREATE INDEXTYPE TO APEXAPPS ;
GRANT CREATE SYNONYM TO APEXAPPS ;
GRANT CREATE DIMENSION TO APEXAPPS ;
GRANT CREATE VIEW TO APEXAPPS ;
GRANT CREATE CLUSTER TO APEXAPPS ;
GRANT CREATE MATERIALIZED VIEW TO APEXAPPS ;
GRANT CREATE PROCEDURE TO APEXAPPS ;
GRANT CREATE ANY CONTEXT TO APEXAPPS ;
GRANT CREATE TYPE TO APEXAPPS ;
GRANT CREATE SEQUENCE TO APEXAPPS ;
GRANT CREATE OPERATOR TO APEXAPPS ;
GRANT CREATE TRIGGER TO APEXAPPS ;
GRANT CREATE TABLE TO APEXAPPS ;

— Grant Object Privileges
GRANT EXECUTE ON SYS.DBMS_RLS TO APEXAPPS ;
GRANT EXECUTE ON CTXSYS.CTX_DDL TO APEXAPPS ;
GRANT EXECUTE ON CTXSYS.CTX_DOC TO APEXAPPS ;

These commands will create the schema and assign the same privileges to that schema that gets assigned when you create a new schema while creating the APEX workspace (verified in Oracle APEX 4.1). Once the schema is created specify ‘Yes’ for Re-use existing schema and then specify the schema name.

Get the width and height of an image using a function in PHP


This is a very useful function in PHP. PHP provides function to get the width and height of an image. The
getimagesize() function will determine the size of image file including flash file(swf).

Syntax

list($width, $height, $type, $attr) = getimagesize(“image_name.jpg”);

Code

This is a sample code, change image_name to your image name and test it!

<?php

list($width, $height, $type, $attr) = getimagesize(“image_name.jpg”);

echo “Image width ” .$width;
echo “<BR>”;
echo “Image height ” .$height;
echo “<BR>”;
echo “Image type ” .$type;
echo “<BR>”;
echo “Attribute ” .$attr;

?>

When you run this script you will see the result like this

Image width 379
Image height 344
Image type 2
Image attribute width=”379″ height=”344″

You will get the width, height, type of an image and also attribute of an image, I use this function in my image

upload form.

Type of an image you can see from table below You can read a full manual here

Type of the image
1 = GIF      5 = PSD          9 = JPC     13 = SWC
2 = JPG     6 = BMP     10 = JP2     14 = IFF
3 = PNG   7 = TIFF(intel byte order)               11 = JPX     15 = WBMP
4 = SWF   8 = TIFF(motorola byte order)     12 = JB2     16 = XBM

Show/Hide multiple DIVs with Select using jQuery


Today ill discuss Show/Hide multiple DIVs with Select using jQuery. Bellow a complete example about that

<script type=”text/javascript”>
$(document).ready(function(){
$(‘.box’).hide();
$(‘#dropdown’).change(function() {
$(‘.box’).hide();
$(‘#div’ + $(this).val()).show();
});
});
</script>
<form>
<select id=”dropdown” name=”dropdown”>
<option value=”0″>Choose</option>
<option value=”area1″>DIV Area 1</option>
<option value=”area2″>DIV Area 2</option>
<option value=”area3″>DIV Area 3</option>
</select>
</form>
<div id=”divarea1″>DIV Area 1</div>
<div id=”divarea2″>DIV Area 2</div>
<div id=”divarea3″>DIV Area 3</div>

Creat banglalink mobile remitence transfer method for bangladeshi.


At our country the new Banglalink mobile remittance method introduced and it is very very easy for us to withdraw money.Banglalink mobile company bring it for us to transfer money from several country.By using this we are able to withdraw money from anywhere at our country.Banglalink use several Bank for this system.

At this system a banglalink mobile user get an sms then he show this sms at Banglalink customer care then customer care representative give him the money.It is very very Easy.

You can contact with Banglalink customer care to this number 008801911304121
Or http://www.Banglalinkgsm.com

Reference: http://www.odesk.com/community/node/11720

How to add date picker in joomla site…


In your component html file, put the following code at the top of your function:

JHTML::_('behavior.calendar');

Then for your date field in your form:

input class="inputbox" type="text" name="startdate" id="startdate" size="25" maxlength="25" value="" &
input type="reset" class="button" value="..." onclick="return showCalendar('startdate','%Y-%m-%d');"