Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_name();
- session_start();
- $_SESSION['usuario']=$_POST['nombre'] ;
- $_SESSION['colorfondo']=$_POST['color'];
- ?>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <style type="text/css"> body{background-color:
- <?php echo $_SESSION['colorfondo'];?>}
- </style>
- <title>Problema</title>
- </head>
- <body>
- <?php
- echo "Nombre del usuario es ".$_SESSION['usuario']."<br>";
- ?>
- <a href="pagina3_36ite.php?<?echo session_name()."=".session_id()?>">Propagar sesión</a>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement