webmaster

About Tejash Shah

This author has not yet filled in any details.
So far Tejash Shah has created 10 blog entries.

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.

 

By |November 17th, 2011|Technical|Comments Off on What’s the best way to move c:\users to d:\users under vista/Window 7

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

Windows XP Pro SP 2
XAMPP

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
localhost
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

SOLVE:

Mod_rewrite needs to be […]

By |November 15th, 2011|Open Sources, Technical|Comments Off on ERROR: Either the server is overloaded or there was an error in a CGI script – Apache Server in XAMPP

Adding A Widget Area To Your Theme Files – WordPress Tutorial

Its a fairly simple process, which involves 2 steps:
1. Register The Widget
To register the new widget you need to open the functi

By |October 18th, 2011|Word Press|Comments Off on Adding A Widget Area To Your Theme Files – WordPress Tutorial

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’) ){
register_sidebar(array(
[…]

By |September 6th, 2011|Open Sources, Word Press|Comments Off on WordPress Tutorial – Adding A Widget Area To Your Theme Files

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

By |July 22nd, 2011|Open Sources|Comments Off on How to export HTML Table into Excel via PHP

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 […]

By |June 13th, 2011|Open Sources|Comments Off on Win 2003 Server, IIS 6, PHP 5 : Error: security error (ACL ERROR).

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

Installing XAMPP on your computer

First, download XAMPP for Windows Installer
Then run the installer on your computer and make sure that your Windows firewall unblocks Apache.
Run the Apache administrator.
Open your browser and go to http://127.0.0.1 – If all went well, a screen will appear where you can choose your language.
Go to http://127.0.0.1/security/xamppsecurity.php and setup a password […]

By |June 13th, 2011|Open Sources|Comments Off on How to setup a local web server on your computer using XAMPP

PHP Error – How to Display Error in browser

display_errors = On

in php.ini

 

By |June 12th, 2011|Open Sources|Comments Off on PHP Error – How to Display Error in browser

PHP Error – It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.

Search for ‘timezone’ in php.ini file

change
;date.timezone =

to

date.timezone = “America/New_York”

or whatever specific timezone you are in.

By |June 12th, 2011|Open Sources, Technical|Comments Off on PHP Error – It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.

Gujarati Shyari

કોણ ભલાને પૂછે છે? અહીં કોણ બૂરાને પૂછે છે?
મતલબથી બધાને નિસ્બત છે, અહીં કોણ ખરાને પૂછે છે?
અત્તરને નિચોવી કોણ પછી ફૂલોની દશાને પૂછે છે?
સંજોગ ઝુકાવે છે નહીંતર અહીં કોણ ખુદાને પૂછે છે?

By |June 12th, 2011|Articles|Comments Off on Gujarati Shyari