Archive

Posts Tagged ‘Tips’

Missing or No Security Tab in Windows XP

April 1st, 2010

I have an HP machine with Windows XP Media Edition,  recently I noticed, there is no security tab for files and folders. Some research showed:

By default, Windows XP come with recommended setting to enable the use of simple file sharing that hide the Security tab, leaving you with only General, Sharing, Web Sharing & Customize tabs as in the Simple File Sharing UI.

Here are the steps to hide and unhide the Security tab, just use the following step:

  1. Launch Windows Explorer or My Computer.
  2. Click on the Tools at the menu bar, then click on Folder Options.
  3. Click on View tab.
  4. In the Advanced Settings section at the bottom of the list, uncheck and unselect (clear the tick) on the “Use simple file sharing (Recommended)” check box.
  5. Click OK.

Security tab is available only to Administrator or users with administrative rights. So make sure you login as one. And security can only be set in an NTFS partition. If you’re still having problem to reveal or display the Security tab on files or folder properties, you can try the following registry hack and set the value to 0 or simply delete the key:

Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\windows\CurrentVersion\Policies\Explorer
Name: Nosecuritytab
Type: REG_DWORD
Value: 1

Post to Twitter Post to Plurk Plurk This Post Post to Yahoo Buzz Buzz This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Ping.fm Ping This Post Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

Tips & Tricks, Windows XP , , ,

Parse .html as PHP in XAMPP

July 30th, 2009

How can I configure Apache to treat .html files as PHP?

This is very common issue faced by almost every developer at some point, recently I had it on my XAMPP setup (version 1.7.1). Other concerning details are:

###### ApacheFriends XAMPP (Basispaket) version 1.7.1 ######

+ Apache 2.2.11
+ MySQL 5.1.33 (Community Server)
+ PHP 5.2.9 + PEAR (Support for PHP 4 has been discontinued)

Solution:

I simply changed following line:

<FilesMatch “\.php$|\.php5$|\.php4$|\.php3$|\.phtml$|\.phpt$”>

to

<FilesMatch “\.php$|\.php5$|\.php4$|\.php3$|\.phtml$|\.phpt$|\.html$“>

in httpd-xampp.conf

OR

change line 21

From
<FilesMatch “\.php$”>

To
<FilesMatch “\.php$|\.html$”>

and it worked great.

Post to Twitter Post to Plurk Plurk This Post Post to Yahoo Buzz Buzz This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Ping.fm Ping This Post Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

PHP , , , ,

Google Search Tips For Currency Conversion

April 12th, 2009

You can use search terms like “5 USD = ? EUR or 12 AUD = ? USD” to find the currency difference using Google search.

Similarly you can use:

  • 1 USD in indian money
  • 1 thai money in australian money

See sample image below…

Google Currency Conversion

Post to Twitter Post to Plurk Plurk This Post Post to Yahoo Buzz Buzz This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Ping.fm Ping This Post Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

Google ,

www, non-www and subdomains

March 30th, 2009

If you want to redirect non www users to www version of your website, you can use the following code:

RewriteEngine on
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.example\.com [NC]
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

but in case of sub domains, this’ll create problems. The code above redirects anything *except* www.example.com to www.example.com.

You’d undoubtedly be happier using a positive-match pattern, instead of the negative match used in the above example.

RewriteEngine On
#
# Redirect www.<subdomain>.example.com/<anything> to <subdomain>.example.com/<anything>
RewriteCond %{HTTP_HOST} ^www\.([^.]+)\.example\.com
RewriteRule (.*) http://%1.example.com/$1 [R=301,L]
#
# Redirect example.com/<anything> to www.example.com/<anything>
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule (.*) http://www.example.com/$1 [R=301,L]

Cheers & Happy Coding….

Post to Twitter Post to Plurk Plurk This Post Post to Yahoo Buzz Buzz This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Ping.fm Ping This Post Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

Tips & Tricks , ,

Using curl with PHP Tutorial

February 3rd, 2009

Recently while developing a database backed php website, the client demanded to have all forms on one site say www.client-forms-website.com, and all the data to be submitted and stored on www.client-database-website.com.

Curl was the ultimate solution. curl is the client URL function library. PHP supports it through libcurl. To enable support for libcurl when installing PHP add –with-curl=[location of curl libraries] to the configure statement before compiling. The curl package must be installed prior to installing PHP. Most major functions required when connecting to remote web servers are included in curl, including POST and GET form posting, SSL support, HTTP authentication, session and cookie handling.

Leaving out all the fancy stuff, this is what I implemented:

On www.client-forms-website.com:

Created a file “receive-form-data.php” with following code.

<?php

// Move posted data into variables.

$firstName= @$_POST[firstName];
$surName= @$_POST[surName];
$email= @$_POST[email];

//The $curlPost variable is being used to store the POST data curl will use. When forming the $curlPost variable which will be used by curl_setopt later be sure to urlencode your data prior to passing it to curl_setopt.

$curlPost = “firstname=”.urlencode($firstName).”&surname=”. urlencode($surName).”&email=”. urlencode($email).”&submitted=true”;
$ch = curl_init();
//set the handle of the curl session to $ch
curl_setopt($ch, CURLOPT_URL, ‘http:// www.client-database-website.com/process-posted-data.php’); //set the URL of the page to pass data.
curl_setopt($ch, CURLOPT_HEADER, 0); //sets whether or not the server response header should be returned, 0 means no header.
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); //by default curl will display the response straight to the browser as the script is executed. To counter this we enabled the CURLOPT_RETURNTRANSFER option.
curl_setopt($ch, CURLOPT_POST, 1); //tell curl to send the form response via the POST method.
curl_setopt($ch, CURLOPT_POSTFIELDS, $curlPost); //option used to store the POST data.
$data = curl_exec($ch); // $data stores data returned from the remote server.
curl_close($ch);

if ($data==1) header(“location: http:// www.client-forms-website.com /thankyou.html“);

else if ($data==0) header(“location: http:// www.client-forms-website.com /error.html“);

?>

On www.client- database -website.com:

Created a file “process-posted-data.php’” with following code.

<?php

$firstName= @$_POST[firstName]; $surName= @$_POST[surName]; $email= @$_POST[email];

/* Function/lines of code to Store Data go here.*/

If (success) echo 1;

else echo 0;

?>

This is working great. Have fun.

Post to Twitter Post to Plurk Plurk This Post Post to Yahoo Buzz Buzz This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Ping.fm Ping This Post Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

PHP , ,

My Favorite FireFox Add-ons

January 29th, 2009

I am a web developer and SEO professional, and use a variety of desktop and online tools to get the job done including Mozilla Firefox. It’s the premium web browser used by most of web professional, but very few comprehend that by installing some of the many free extensions/add-ons, they can get rid of most of the other applications they currently use. Below are my 9 favorite extensions for web:

FireFTP – is a free, secure, cross-platform FTP client for Mozilla Firefox that provides easy and intuitive access to FTP servers. You don’t need a separate program for FTP, very handy.

Professor X – lets you view web page’s header information without having to view source code. It displays the contents of the page’s header, including Meta, Script and Style content.

WHOIS Lookup 1.1 – View the WHOIS information for any page easily and quickly by clicking the button on the top-right of the browser.

IE View – If you frequently use Internet Explorer to test how your website renders on that browser,tThis add-on allows you to view the way any page would look if it were opened in IE, without the hassle of opening another browser.

WebDeveloper toolbar – This all-in-one toolbar provides you swift control over things like JavaScript display, form and CSS elements, screen resizing (so you know what your website looks like in smaller resolutions), HTML validation, and much more.

AdSense Preview – preview the Google AdSense ads that would appear on that page. This is incredibly useful if you are considering putting AdSense on a page and don’t want to go through the hassle of signing up for an account and putting the ads up just to see what type of ads will show.

Screen grab – It takes a screen shot of what you can see in the window, the entire page, just a selection, a particular frame and saves it as an image file. This saves a ton of time compared to the method I used to use – take a screenshot and open Adobe Photoshop to crop the image.

MeasureIt – You can use this to draw out a ruler to get the pixel width and height of any elements you see on a webpage. It’s very simple to use, and of course very helpful at times.

Gspace – This turns your Gmail Space (4.1 GB and growing) into an online drive, so you can use it to upload files from your hard drive and access them from every Internet enabled computer.

What are your favorite add-ons for web developing? Leave us a comment below.

Post to Twitter Post to Plurk Plurk This Post Post to Yahoo Buzz Buzz This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Ping.fm Ping This Post Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

Web Development , , ,

What makes a website successful?

January 27th, 2009

There are many significant aspects to take into consideration when building a website to generate leads (irrespective of the niche). These aspects will help determine how successful a website is at gaining organic search engine results, converting visitors to solid leads, and overall lead generation success.

High Quality Contents

To stand tall among the crowd, your lead generation website has to be convincing. If you can exhibit your expertise with high-quality content on topics that interest your website users, you can have them coming back again and again. Eventually you’ll earn trust of your users and this’ll lead to success, but remember key is “high-quality fresh content”.

A part from this, you can offer free tools and resources that have value will be highly appreciated. These typically include relevant free eBooks, blogs, and other resources that help your website visitors.

Ease of Use

Great content is a must. But if your visitors can’t easily find way to your information, tools and resources, then that great content will be wasted. Your website must be organized properly so that it is very easy to navigate and is not confusing to your visitor.

Proper website architecture will increase conversion ratings. A big part of architecture is where you place your calls to action. To optimize your conversion percentages to generate the highest possible number of visitors and leads, there should be a visible call to action on every important page of your website. Usually the top portion of your webpage is considered to be the best for the purpose.

Technical Aspects

Although it’s not a major issue these days, but still make sure that your website loads as quickly as possible (avoid excessive use of graphics and animations as much as possible, bottom line is try to keep it simple). Test it to fullest possible extent, your site should perform without any bugs or errors.

Search Engine Optimization

There are many other important stuff you can do to your website to optimize it to generate maximum leads. For example, you can put the keywords you are targeting into your header tags, page urls, as well as on the content of your website. With the proper search engine optimization, you will get higher rankings in the search engine which will bring you more traffic for the terms you are targeting. For more on this topic you may like to visit Learn And Apply SEO To Your Website.

All of the above mentioned points are crucial for cultivating a successful online presence. You can just have a site designed and start making money. You have to give proper time and thoughts to it. The idea is to create a professionally optimized, easy to navigate website that ultimately will generate leads and revenue for you.

Post to Twitter Post to Plurk Plurk This Post Post to Yahoo Buzz Buzz This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Ping.fm Ping This Post Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

Website Design , ,

How to Get Free Websites or Blogs.

January 20th, 2009

It’s really easy these days to create and maintain websites and above all it’s FREE. There are lots of websites or internet companies giving away free domains, subdomains, hosting, blogs etc. Wordpress.com and Blogger.com top the list.

WordPress is an open source blog publishing application. Wordpress has two flavors:

  1. Create your website free on their server with some limitations (like storage, less features etc).
  2. Or download Wordpress and install on your own server/hosting account. Infact most of the share hosting accounts come with installable version of Wordpress. So just click few times and have it up and running. Tons of widgets, plugins and themes available for this type of Wordpress version.

Blogger.com is owned by the big guy Google and it is highly search engine optimized. So if you do it seriously (maintain your website properly and regularly), you can have hundreds of visitors flocking to your website from Google search result.

Some more free website providers:

This is my bit, if you have a resource worth sharing, please hit comment.

Good luck!

Post to Twitter Post to Plurk Plurk This Post Post to Yahoo Buzz Buzz This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Ping.fm Ping This Post Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

Online Marketing, SEO, Tips & Tricks , ,

Domain Registration FAQs

January 20th, 2009

Once registered can I use my domain name immediately?

Once you get confirmation of your successful registration, your domain name is ready to use.

However, due to the nature of the DNS system it can take up to 48 hours for all the DNS servers across the Internet to “learn” and be able to “see” your domain.

What is URL forwarding and how does it work?

URL Forwarding allows you to redirect or ‘point’ your domain name to another location. Most often, this is used if you own multiple domain names and want to ‘point’ them to the same website.

What is a cloaked URL forwarding?

It’s similar to regular URL forwarding, except that your URL will never change in the address bar. When you use cloaked URL forwarding, your domainname.com forwards to your actual URL, but yourdomain.com stays in the address bar.

Post to Twitter Post to Plurk Plurk This Post Post to Yahoo Buzz Buzz This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Ping.fm Ping This Post Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

Knowledgebase ,

Intresting Facts

January 19th, 2009
  • The liquid inside young coconuts can be used as a substitute for Blood plasma.
  • No piece of paper can be folded in half more than seven (7) times.
  • Donkeys kill more people annually than plane crashes.
  • You burn more calories sleeping than you do watching television.
  • Oak trees do not produce acorns until they are fifty (50) years of age or older.
  • The first product to have a bar code was Wrigley’s gum.
  • The King of Hearts is the only king WITHOUT A MOUSTACHE
  • American Airlines saved $40,000 in 1987 by eliminating one (1) olive from each salad served in first-class.
  • Venus is the only planet that rotates clockwise.
  • Apples, not caffeine, are more efficient at waking you up in the morning.
  • Most dust particles in your house are made from DEAD SKIN!
  • The first owner of the Marlboro Company died of lung cancer. So did the first “Marlboro Man.”
  • Walt Disney was afraid OF MICE! · PEARLS MELT IN VINEGAR!
  • The three most valuable brand names on earth: Marlboro, Coca Cola, and Budweiser, in that order.
  • It is possible to lead a cow upstairs… but, not downstairs.
  • A duck’s quack doesn’t echo, and no one knows why.
  • Dentists have recommended that a toothbrush be kept at least six (6) feet away from a toilet to avoid airborne particles resulting from the flush.
  • Turtles can breathe through their butts.

Post to Twitter Post to Plurk Plurk This Post Post to Yahoo Buzz Buzz This Post Post to Delicious Delicious Post to Digg Digg This Post Post to Ping.fm Ping This Post Post to Reddit Reddit This Post Post to StumbleUpon Stumble This Post

Knowledgebase

Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.