Friday, June 15, 2007

To address potential duplicate content penalties in Google

An easy step that can help avoid potential ranking loss from duplicate
content reprimands is to make sure there aren't four or five different
URLs navigating to the same page. Google views these two domains below
as separate entities and if the content is exact, they can take
punitive measures against the offending site.

To address potential duplicate content penalties, manipulate
your.htaccess file and redirect secondary domains to the preferred
listing. This means every time a web user enters the
address without the preferred prefix, they are redirected to the
correct domain.

Add the following code to your .htaccess file (change the "mysite" to
your domain):

RewriteEngine on
RewriteCond %{HTTP_HOST} ^
RewriteRule ^(.*)$$1 [R=permanent,L]

Keep on Promoting

Friday, May 25, 2007

Pyar ko ho jane do - Kumar Sanu, Lata Mangeskar - Movie Dusman - 1996

i like this song very much, sing by kumar sanu and lata mangeskar for dusman movie. you can listen this song here:

Get this widget | Share | Track details

Click here to watch:

Thursday, May 10, 2007

Usefull PHP Links & Referances

On these sites you will find tutorials, articles, example scripts, PHP related tools, jobs, web hosting services, etc.

PHP Support Companies

    A German and international PHP support company providing full PHP support (single incidents, on-call duty), software development, training, and performance measurements.
  • Zend Technologies
    Zend Technologies supports the PHP community and promotes PHP adoption. Founded by the authors of the Zend Engine and members of the PHP Group, Zend offers both free and commercial solutions for PHP.

Professional PHP Associations

    (Association Française des Utilisateurs de PHP) : The AFUP was created to answer the growing need from companies to have one unique place for PHP solutions.
  • PHP Québec
    PHP Québec promotes PHP for professional users in Québec, Canada. Every month, companies hold sessions about their use of PHP, their customer cases and their solutions.
  • New York PHP
    International community supporting PHP adoption, projects and development.
  • Grupo de Profissionais PHP - Brasil
    The ProPHP was created to support PHP adoption, improve its usage and group all of our brazilian PHP Professionals, promoting conferences, zines and much more.

PHP News

  • Planet PHP
    Latest news aggregated from PHP related weblogs.
  • Weekly Summaries
    Summary of Internal PHP happenings, brought to you by

PHP Link Catalogs

    The PHP category in the Open Directory Project.
    PHP Books, Magazine Articles, Communities, Scripts and Programs, Softwares, Tips
    Many Links and Tutorials, Articles and FAQ about Linux, Apache Web Server, HTML, PHP, MySQL ... and lots more
  • PHP Everywhere
    Links and news about PHP and related technologies.
  • PHP Resource Index
    Hundreds of PHP resources, categorized and searchable

PHP FAQ sites

Complex PHP Related Sites

  • Codewalkers
    A community site dedicated to PHP developers. Includes forums, tutorials, and user submitted code. Home of the PHP Coding Contest.
  • Developers Shed
    A good set of articles introducing various PHP concepts
  • PHP Developers' network
    The PHP Developers' Network was founded to provide the PHP Community with a set of solid sites that work together to promote the PHP language and provide a large resource for the community as a whole.
  • PHP Freaks
    PHP Learning Center site.
  • DevZone
    A community site for developers of all levels, including a code gallery, applications, tips, forums, tutorials and more.

PHP Scripts and Programs

PHP Magazines

  • php|architect
    The first monthly English magazine about PHP, distributed in PDF format
  • PHP Magazin
    The Software & Support Verlag, based in Frankfurt, Germany, has now published a magazine on PHP as a tribute to the steadily growing German PHP community (in German).
  • PHP Magazine
    An English edition of the magazine mentioned above. The PHP Magazine is published bimonthly and aimed at professional PHP users.
  • PHP Tunisie Magazine
    PHP Tunisie Magazine is a monthly French speaking magazine, distributed in PDF format and dedicated to PHP and its related technologies. It's edited by the Tunisian PHP users group.

PHP Video and audio

  • DVD PHP Québec
    The PHP Québec DVD was shot during the Montréal sessions, in 2003. It gathers 6 hours of advanced technics sessions, subtitled in French and English.
  • CD-ROM PHP Québec
    The PHP Québec CD-ROM was recorded during the Montréal sessions, in 2004. It gathers 21 hours of advanced technics sessions in audio format, with the slides.

PHP Tutorials

  • Melonfire
    A series of PHP tutorials for novices
  • ONLamp
    Great collection of tutorials from O'Reilly
  • DevZone
    The tutorials section on the developer zone
  • IBM PHP tutorials
    Use PHP and other open source tools to develop applications for IBM Information Management servers.

PHP Setup and Authoring Tools

Companies that provide commercial tools for PHP

  • ActiveState
    ActiveState, a division of Sophos, produces Komodo, a professional integrated development environment (IDE) for open source languages.
  • ionCube
    ionCube produces PHP development and end-user tools, including the popular free PHP Accelerator and affordable encoding solutions for code protection.
  • Macromedia
    Macromedia created Dreamweaver MX, a rapid web application development tool supporting PHP.
  • Maguma
    Maguma produces an IDE with debugging to speed up the development of PHP enabled websites and applications.
  • SourceGuardian
    SourceGuardian produces tools to help commercial developers distribute their scripts safely including the popular SourceGuardian Pro for encrypting and obfuscating PHP source code.
  • NuSphere
    NuSphere delivers products and services that allow companies to deploy reliable, cost-effective database-driven Internet applications and sites.
  • WaterProof
    WaterProof produce PHPEdit, an IDE mainly targetted to PHP development with integrated debugger and tools to speed up and enhance quality of your php projects.
  • Zend Technologies, Inc.
    Zend Technologies, Inc. provides tools to Develop, Protect and Scale your PHP Applications.

PHP Accelerators

  • APC
    Alternative PHP Cache, Free open source accelerator available from Community Connect.
  • EAccelerator
    A fork of Turck MMCache.
  • ionCube PHP Accelerator
    A free accelerator available from ionCube.
  • Turck MMCache for PHP
    Free open source accelerator, optimizer, encoder and dynamic content cache from TurckSoft.
  • Zend Accelerator
    Commercial accelerator available from Zend Technologies, Inc.

PHP Merchandise

  • PHP projects' merchandise
    A search result page with various PHP related projects' shops (not all results are necessarily PHP related!)

Non-English PHP Sites

  • Bosnian
      Bosnian site with PHP and SQL manual, tutorials, scripts, forum, mailing list, tools, books...
  • Brazilian
      Brazilian PHP portal with many links and information
  • Chinese
    • Exceed PHP
      Open Source site with PHP, MySQL and Apache tutorials, articles and scripts
  • Croatian
    • (Croatian PHP community)
      Croatian site with news, source code, manuals, beginners guides, forums, questions & answers, on-line help for programmers, polls, tools, etc.
  • Czech Republic
  • Dutch
    • Pagina
      A Dutch PHP portal that lists a lot of PHP links, including free hosting
  • Estonian
    • PHP Center
      The biggest Estonian portal site with tutorials, manual translations, discussion board, chat room, link collection, news, etc.
  • French
      Home of PHP French documentation, with comprehensive technical information, and all PHP related news
    • phpdebutant
      Apprendre le PHP par l'exemple, facilement et simplement. Réservé d'abord aux débutants.
    • phpfrance
      Pour tout savoir sur le PHP, en français. Vous trouverez un tutorial, des exemples, des astuces, toute la documentation nécessaire, ainsi que des forums pour poser des questions.
    • PHPIndex
      A French gateway to PHP related contents
    • PHPscripts-fr
      More than 500 PHP applications, listed and sorted
      Everyday PHP applicatoins advisories, bugs and vulnerabilities.
    • phpTeam
      Site traitant du PHP pour les professionels (php et flash, mysql, postgresql, pear,...)
    • FAQ of the French PHP newsgroup : fr.comp.lang.php
      (was: fr.comp.infosystemes.www.auteurs.php)
  • German
    • php::bar
      PHP related wiki
    • PHP Center
      German speaking portal site with tutorials, tips and tricks, job advertisements, articles and more
    • PHP-Homepage
      German site about PHP with scripts, tips, forums, MyGuestBook, articles, news and more
    • DynamicWebpages
      German site with installation guides, tips & scripts, BestOfGML, WhoIsWho - a view on german PHP-cracks, german manual, book reviews, links and more
    • PHPWelt
      A German website using PHP to offer free services, a huge script-archive, free scripts, tutorials and many more
      Some German tutorials about PHP
    • SelfPHP
      German function reference for PHP like SelfHTML for HTML
      German site about PHPGTK
      This german php community gives you everything you need. A large script-archive, lots of tutorials and a qualified moderated forum that answers nearly all your question
  • Hungarian
      Starting point for Hungarian and International PHP sites
    • Weblabor
      Fresh news, articles, links and mailing lists from the world of web development and PHP
  • Italian
      The biggest Italian speaking source for PHP: daily updated links to scripts, articles, tutorials and many other resources.
      An Italian site that provides a variety of developer tutorials, with a small PHP section
      An Italian-language PHP site that features a variety of projects, reviews, courses, tutorials and other resources
      Section of an Italian site that provides tutorials about PHP, hundreds of scripts, books and a list of free and pay webhosts which support PHP
  • Norwegian
    • (
      Norwegian site for newbies and intermediates. Installation help and scripts.
  • Persian
      A site about PHP for Iranians, with news and forums.
  • Polish
      Daily updated website with articles, translations, the biggest PHP Polish forum, dedicated IRC server, legal information section, etc.
  • Portuguese
  • Romanian
      Romanian PHP Community, articles, tutorials, online discussions and forums.
  • Russian
      International PHPClub community based in Russia. Forums, articles, lessons, consulting.
      PHP in Russian. Full Russian documentation.
  • Spanish
    • PHP en Castellano
      Spanish PHP community. Articles, tutorials, courses, source code, forums, and more about PHP.
      News and tutorials
  • Swedish
      A Swedish PHP portal with articles, news, forums and much more

Developers and Job Opportunities

Here's a list of sites with that publish PHP-related job listings:

For a more exhaustive list of job search sites on the web, take a look at's Job Search listings.

Thursday, April 26, 2007


As you may know, when/if a worm virus gets into your computer it headsstraight for your email address book, and sends itself to everyone in there, thus infecting all your friends and associates.

This trick won't keep the virus from getting into your computer, butit will stop the virus from using your address book to spread further,and it will alert you to the fact that the worm has entered into your system.

Here's what you do:

First, open your address book and click on "New Contact," just as youwould do if you were adding a new friend to your list of emailaddresses.

In the window where you would type your friend's first name, type in "A".

For the screen name or email address, type AAAAAAA@A....

Save and Close the new entry.

Now, here's what you've done and why it works:

The "name" "A" will be placed at the top of your address book as entry#1.

This will be where the worm will start in an effort to send itself toall your friends. But, when it tries to send itself to AAAAAAA@A...,it will be undeliverable because of the phony email address youentered. If the first attempt fails (which it will because of the phony address), the worm goes no further and your friends will not beinfected.

Here's the second great advantage of this method:If an email cannot be delivered, you will be notified of this in yourInbox almost immediately as a Mailer Daemon. Hence, if you ever get anemai! l telling you that an email addressed to AAAAAAA@A... could not bedelivered, you know right away that you have the worm/virus in yoursystem. You can then take steps to get rid of it!

Saturday, April 21, 2007

PHP Integration to FCKeditor

PHP Integration to FCKeditor:

It is very easy to use FCKeditor in your PHP web pages. All the
integration files are available in the official distributed package.
Just follow these steps.

Step 1

Suppose that the editor is installed in the /FCKeditor/ path of your
web site. The first thing to do is to include the "PHP Integration
Module" file in the top of your page, just like this:


Step 2

Now the FCKeditor is available and ready to use. So, just insert the
following code in your page to create an instance of the editor
(usually inside a FORM):

$oFCKeditor = new FCKeditor('FCKeditor1');
$oFCKeditor->BasePath = '/FCKeditor/';
$oFCKeditor->Value = 'Default text in editor';

"FCKeditor1" is the name used to post the editor data on forms.

Step 3

The editor is now ready to be used. Just open the page in your browser
to see it at work.

The complete sample

include("FCKeditor/fckeditor.php") ;

$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = '/FCKeditor/';
$oFCKeditor->Value = 'Default text in editor';
$oFCKeditor->Create() ;

Handling the posted data

The editor instance just created will behave like a normal
field in a form. It will use the name you've used when creating it (in
the above sample, "FCKeditor1").

So, to retrieve its value you can do something like this:

$sValue = stripslashes( $_POST['FCKeditor1'] ) ;


You can find some samples on how to use the editor in the "_samples/
php" directory of the distributed package.

Other info

If you want to retrieve the resulting HTML instead of outputting it
directly to the browser (for example if you're using it in a template
engine such as Smarty), you can call the "CreateHtml" method instead:

$output = $oFCKeditor->CreateHtml() ;


To change the size of the editor in the page, insert the
following code before calling the Create() or CreateHtml() methods:

$oFCKeditor->Width = '100%' ;
$oFCKeditor->Height = '200' ;

and just change the values to your needs.

* To modify configuration settings in a separate file outside the
editor's directory, add them to the Config property of the editor

$oFCKeditor->Config['CustomConfigurationsPath'] = '/myconfig.js' ;


To set the path for saving uploaded files uncomment the
following line in /FCKeditor/editor/filemanager/browser/default/

(do the same in /FCKeditor/editor/filemanager/upload/php/
config.php, at least in version 2.3)

// $Config['UserFilesPath'] = '/UserFiles/' ;


Depending on your version, you may also need to set
$Config['Enabled'] to true in /FCKeditor/editor/filemanager/browser/

(do the same in /FCKeditor/editor/filemanager/upload/php/
config.php, at least in version 2.3)

// SECURITY: You must explicitly enable this "connector". (Set it to
$Config['Enabled'] = true ;

Note: Set the permission of the upload directory properly. You should
also uncomment the settings of LinkBrowserURL and the ImageBrowserURL
in the /FCKeditor_2.0fc/fckconfig.js file for the browsing and
uploading function to work properly.

Also set _FileBrowserLanguage and _QuickUploadLanguage to php in the
fckconfig.js file.

var _FileBrowserLanguage = 'php' ;
var _QuickUploadLanguage = 'php' ;

See Built-in File Browser for more information.

Important Note for PHP with Safe Mode activated: You'll have to
create /UserFiles/File, /UserFiles/Flash, /UserFiles/Image and /
UserFiles/Media in order for the filebrowser to work. Of course,
you'll also have to set the correct permissions for these directories.
Furthermore, don't use the "Create new folder" button. The folder
would be created but couldn't be used (Safe Mode restriction).