Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Start a session
SUBMITTED BY:
henry1874w
DATE:
June 21, 2017, 11:34 p.m.
FORMAT:
Text only
SIZE:
244 Bytes
Raw
Download
Tweet
HITS:
207
Go to comments
Report
<?php
// Start the session
session_start();
?>
<!DOCTYPE html>
<html>
<body>
<?php
// Set session variables
$_SESSION["favcolor"] = "green";
$_SESSION["favanimal"] = "cat";
echo "Session variables are set.";
?>
</body>
</html>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus