3 02, 2016

php: Setting to run the php file using command line

February 3rd, 2016|PHP|0 Comments

We are trying to run the php file using command line but we got the error “php is not a function”. So how we resolved this error
Now Let’s Start

1) Go to My Computer > Properties
2) Click on Advance setting
3) On the popup box click on “Environment Variable”
4) Choose the “Path” […]

10 01, 2016

PHP Training in Vadodara


Looking for PHP live project training courses in Vadodara? Are you final year students and trying to find the right training company? You are in right place for getting Best PHP training class or institute in Vadodara (Baroda). PHP is the most popular choice of language to create websites […]

8 01, 2015


January 8th, 2015|PHP, ZEND PHP CERTIFICATE|0 Comments

Session can we define as series of interaction between a single client and the web server, which take place over an extended period of time.

Important points of Session :

Session store information on server side. Storing a data on client machine and have to pass it back and forth between the server and client each time, it’s far more practical to keep the data on server, but give a client a ‘key’ to allow it to uniquely identify itself. A key is called a session identifier, it is uniquely associates a client with session. Session identifier also known as the SID (Session ID)

PHP creates its SID whenever we use session_start() or certain other session-related function like session_register(). SID kept in global variable named PHPSESSID.

When we start PHP session, the server assigns it a SID. and variable which we register as session variable are then stored on the server in a cookie-like file. The name of file generally the same as the value of the SID. OR SID would be part of URL

The length of session is determined by the session timeout setting in ‘php.ini’ file. The default is 1,440 seconds (24 min.)

Session is widely use for below mentioned things:

Session use when we want to work with sensitive information.

Session can support store data into $_SESSION super global variable. […]