Nice Quotes and Messages

” काम पड़ सकता है ”
आधे रिश्ते तो लोग इसी वजह से निभा रहे है .

खुशियों का कोई रास्ता नहीं,
खुश रहना ही रास्ता है।

સમર્પણ નું ખાતર નાખ્યા વગર સબંધ નું વૃક્ષ મોટું થતું નથી

જ્યારે “ભગવાન” તમને “મુશ્કેલીના” શિખર પરથી”ધક્કો” મારે ને સાહેબ…

“તો એક વાત યાદ રાખજો”
કાં તો તમને “ઝીલી” લેશે
કાં તો તમને “ઉડતા” શીખવાડી દેશે….

કાલે અરીસો હતો તો, બધા
જોઈ જોઈ ને જતા હતા,

આજે તૂટી ગયો,
તો બધા બચી બચી ને જાય છે.

સમય સમય ની વાત છે !

લોકો તમારી સાથે નહીં પણ તમારી સ્થિતિ સાથે હાથ મિલાવે છે.

ત્વચાની કરચલી ચલાવી લેવી…
વિચારોને ઇસ્ત્રી દરરોજ કરવી……

Our Prayer For Today,Everyday & Every Moment……………
Dear God
I Want To Take A Minute, Not To Ask For Anything From You.
But, Simply To Say “Thank You” For All I Have.

મિત્રતા એટલે
” કુંડળી ”
મેળવ્યા વગર સ્થાપિત થતો અને આજીવન કાયમી રહેતો સંબંધ

Not realizing what you want ——- is a problem of knowledge.
Not pursuing what you want —— is a problem of motivation.
Not achieving what you want ——is a problem of persistence.

ખબર નહિ કઈ માટીની
બનેલી છે ઈચ્છાઓ,

તરફડે છે,
મરે છે અને
છતાં રોજ જન્મે છે !!


मैं धीरे-धीरे सीख रहा हूँ कि…

मैं धीरे-धीरे सीख रहा हूँ कि…
मुझे हर उस बात पर प्रतिक्रिया नहीं देना चाहिए जो मुझे चिंतित करती है।

मैं धीरे-धीरे सीख रहा हूँ कि…
जिन्होंने मुझे चोट दी है मुझे उन्हें चोट नहीं देना है।

मैं धीरे-धीरे सीख रहा हूँ कि…
शायद सबसे बड़ी समझदारी का लक्षण भिड़ जाने के बजाय अलग हट जाने में है। Continue reading मैं धीरे-धीरे सीख रहा हूँ कि…

What’s the best way to move c:\users to d:\users under vista/Window 7

The easiest and recommended way is to move the individual special folders inside a user directory, such as Documents, Music, Video’s, etc. You can do this with the following steps:

Right click –> properties

Location tab Fill in the desired location and

click ‘move’

Downside to this is that this still leaves the main ‘Users’ folder inplace.


ERROR: Either the server is overloaded or there was an error in a CGI script – Apache Server in XAMPP

Windows XP Pro SP 2

Error Message:

Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.
Error 500
02/27/08 13:04:31
Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4


Mod_rewrite needs to be enabled on xampp for htaccess to work. Its an apache server by the way so htaccess does work.

Find the file called httpd.conf, it should be located in

Open with notepad and find this line
#LoadModule rewrite_module modules/
Remove the #, save it, restart apache (if running).

WordPress Tutorial – Adding A Widget Area To Your Theme Files

Its a fairly simple process, which involves 2 steps:

1. Register The Widget

To register the new widget you need to open the functions.php file in your WordPress themes editor.

Add the following code to the functions file, making sure you place it in between php tags:

if ( function_exists('register_sidebar') ){
        'name' => 'my_mega_menu',
        'before_widget' => '',
        'after_widget' => '',
        'before_title' => '',
        'after_title' => '',

Give the widget area a name – e.g. my_mega_menu and in the before/after options you can place code which you wish to appear wrapped around either the widget itself or the title.

Since we are wanting to use one of the menu widget themes, which come with plugins we dont want to wrap it in the standard widget tags, which may interfere with the CSS.

For this example we have just wrapped it in a div tag with the id – my-mega-menu-widget.

2. Add The Widget Code To Your Theme

Now we can add the code that will call the widget to the correct location in our theme files. Since we are creating a horizontal mega menu we obviously want to display this in the header.

In your WordPress themes editor open the header.php file.

Find the location where you want to place the menu and add the following code to the header.php file:

< ?php /* Widgetized sidebar */
    if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('my_mega_menu') ) : ?>< ?php endif; ?>

Make sure that you change the “my_mega_menu” text to be the same as the name you gave to your widget area in the functions file.

Save the changes to the header.php file

If you now go to the widget area in WordPress admin you should see a new widget area in the right hand column with the name of your widget.


How to export HTML Table into Excel via PHP

Create one variable and save whole table as string to that variable and just add below headers lines

//Header information
$header = "Header1" . "\t";
$header .= "Header2" . "\t";

//Reading the data thro' POST
$data= $_POST['header1']. "\t";
$data .= $_POST['header2'] . "\t";

header("Content-type: application/x-msdownload");
header("Content-Disposition: attachment; filename=xyz.xls");
header("Pragma: no-cache");
header("Expires: 0");
print "$header\n$data";

download sample file

Win 2003 Server, IIS 6, PHP 5 : Error: security error (ACL ERROR).

I am using Win 2003 Server, IIS 6, PHP 5.

If you see "You are not authorized to view this page" error when running your PHP page.

Try one more thing:
1. Right-click {C:\php} (or your PHP installation root) and select {Properties}
2. Select {Security} tab and click {Add} button
3. Enter {ComputerName/IUSR_ComputerName} as object name and press {OK}
4. Select {Read & Execute} as permissions
5. Click {Advanced} button and select {Allow inheritable permissions from the parent...} checkbox
6. Press {OK}

How to setup a local web server on your computer using XAMPP

Installing XAMPP on your computer

  1. First, download XAMPP for Windows Installer
  2. Then run the installer on your computer and make sure that your Windows firewall unblocks Apache.
  3. Run the Apache administrator.
  4. Open your browser and go to – If all went well, a screen will appear where you can choose your language.
  5. Go to and setup a password (i