Showing posts with label php. Show all posts
Showing posts with label php. Show all posts

Cookies in Internet

Cookies are a mechanism for storing data in the browser and thus tracking or identifying return users.

Cookies are normally stored in the client side.

Cookies can be reterived by typing Cookies in the run mode in Windows.

It is very important to give No to the browser .

Whenever it ask us to store the username and passwords.

Otherwise some criminals may easily trace our username and passwords and use it.

So be careful!!

Difference between echo and print in php

Both print and echo functions in php are same.

But echo and print differs in a certain way.

How it differs?

$a=print "No problem";
Tis statement will assign the string to the variable a

Whereas incase of echo.

$a=echo "No Problem";
This statement will not assign the string to the variable a.

This is one difference i found out.

Another difference i have found in the internet is
echo executes more faster than print.