PHP Session et Cookies: Exemple d’utilisation de session_start()

 
<?php session_start(); ?>
<html>
 <head>
  <title>Session starter</title>
 <head>
 <body>
 <a href="next.php?<?php echo( SID ); ?>">Next page</a>
 <hr>
 PHPSESSID = 
 <?php 
  echo ( session_id() ); 
 ?>
 </body>
 
</html>
  
  
 
<?php session_start(); ?>
 
<html>
 
 <head>
  <title>Session starter</title>
 <head>
 
 <body>
 
 <a href="next.php?<?php echo( SID ); ?>">Next page</a>
 <hr>
 
 PHPSESSID = 
 <?php 
 
  echo ( session_id() ); 
 
 ?>
 
 </body>
 
</html>
  
  

No Comments

  • Your comment is awaiting moderation

    Earrings with real jewels should weight so much and you want safe backs to keep them on and never lose them.

    Look at my blog … Joma Jewellery

Join the Discussion

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>