NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

Using Cookies in PHP
25823 Using Cookies in PHP http://www.phpnerds.com/article/using-cookies-in-php Cookies are simply files stored in a special temporary location determined by your web browser (like Internet Explorer) which allow public information to be stored for your benefit usually. By public information, this can entail any information that you have entered into forms on websites, or certain non-identifying information such as your IP address or user agent. PHP > Tips and Tutorials > Cookies and Sessions Oct 15, 2006 Peter McNulty

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  



Other links at PHP > Tips and Tutorials > Cookies and Sessions
Login using Cookies
Copy and paste the following code into your body tags and run it (code comments are included).
If you want to see the live result, try it here (new window).
This script set a cookie to save the user information sent by an online form. The online form is displayed only if the cookies has been saved.
Category:

Cookies are just a basic aspect of PHP, but can be used in so many things. From logging in and out a user on your website to keeping the name of the skin they use on your website. Below I will explain how to set (add) a cookie, delete one and then display/check one.
Category:

PHP allows you to set up a session and store session variables. After you create a session, the session variables are available for your use on any other Web page. To make session information available, PHP does the following:
Category:

This article contains handful PHP function ae_put_cookie for easy cookie setting and "Cookie Notepad" example which allow visitor to store text in his own browser cookie.
Category:

The first time a user accesses to a our pages some connections and disconnections took place. During this process the server and the client will interchange information to identify each other. Due to this exchange of information our server will be able to identify a specific user and this information may be use to assign specific information to each specific client. This relationship between computers is call a session. During the time a session is active, it is possible to assign information to a specific client by using Session related commands. After a few minutes, the session will expire, so that information will be lost.
Category:




Main Category
178
2033
792
284
174
1802
1113
905
1157
7350
70
898
59
2185
172

Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 19151
Categories: 1275
Registered Users: 687
Mailing List Subscribers: 2041
Unique Outgoing Hits: 219413

Pagerank Statistics
PR 10
2 site(s)
PR 9
9 site(s)
PR 8
36 site(s)
PR 7
288 site(s)
PR 6
828 site(s)
PR 5
2006 site(s)

PHP News