seek scripts php
SEEKSCRIPTS.COM - OPEN SOURCE, FREE AND COMMERCIAL PHP SCRIPTS FOR YOUR SITE

home page latest news web development curriculum vitae php scripts contact me

  • C# (Microsoft .NET)
  • JAVA
  • Dynamic HTML
  • PHP & MySQL
  • ASP.NET - C# & VB.NET
  • Perl & CGI
  • C | C++
  • Vector Markup Language
  • SMIL
  • Assembler
  • Databases
  • Wap Development
  • Web site promotion
  • Web Marketing


  • Curriculum Vitae (CV)
  • Major web solutions
  • Web design projects
  • Software solutions

How to create a SESSION variable?

Free programming example written by Anton Zamov


The sessions in PHP are very useful to pass data through the pages. 
(as http is stateless protocol).

At every session is associated a unique session ID which can be stored on a user's
 computer or in a cookie or passed along through a URL.


<?php
session_start(); // must be called before anything is output to the browser 

$userEmail = "whatever@whatever.com"; 

$_SESSION["userEmail"] = $userEmail; 

...

?>








Jobs Portal, poweful jobs board software

PHP Mall, multi vendors mall website software

Car Portal, php script for auto classifieds websites

NetArt Media, software products and services

Real Estate Portal, web software for real estate portals

Blog System, multi user blog hosting script

Classified Ads Script, Responsive & SEO optimized PHP classified ads script for your site

WebSite Directory Script, Create easily your own website directory with this professionally designed script

C# (Microsoft .NET) | JAVA | Dynamic HTML | PHP & MySQL | Perl & CGI | C | C++ | Vector Markup Language
SMIL | Assembler | Databases | Wap Development | Web site promotion | Web Marketing

Copyright Anton Zamov 1998 - 2023