30 Useful PHP Classes and Components

Simplicity and extensibility are the main reasons why PHP became the favorite dynamic language of the Web. In the last decade, PHP has developed from a niche language for adding dynamic functionality to small websites to a powerful tool making strong inroads into large-scale Web systems.

Below I present 30 useful PHP classes and components that you can use to test, develop, debug and deploy your PHP applications. Let me know if I missed anything or if you have something to add.

Continue reading

Advertisements

How to Use Gmail Labels as Folders?

Many of the internet users(including my friends) opt for Yahoo mail because it contains Folders.

Actually Gmail Labels provides more functionality than Yahoo Mails Folders. Gmail allows you to put emails into Labels or both Inbox and Label.

Here is how you can set Labels as Folders:

  • Go Under Settings Tab.
  • Choose Labels Tab and Create a New Label ( I used Google).

newlabel1

  • Now go under Filter Tab and Click on Create a filter

filtergoogle2

  • Choose your Filter criteria(I choose Has the Words :Google)
  • Click on Next.
  • Mark the BoxSkip the Inbox(Archive it) and Apply the Label Google

apply-google3

You can also take mails already in your Inbox to Label with criteria you have mentioned above.

labels4

Now your Labels are not just labels but are Folders too.

Solve PHP error: Cannot modify header information – headers already sent

This error message is commonly seen by programmers starting to use PHP. Understanding why this error occurs will help find the solution.

PHP handles lots of the work of generating web pages for you, without you even having to ask. A web page is composed of two parts, the header and the body.

The header is generally stuff that you don’t need to worry about, is generated automatically, and contains information about the page, the server, related cookies, and so on. The header information is important, but it is not typically seen by the user. Here are some examples: Continue reading

%d bloggers like this: