Einzelnen Beitrag anzeigen
Alt 06.08.2003, 02:42   #7
Who-T
Elite
 
Registriert seit: 01.08.2000
Beiträge: 1.395


Who-T eine Nachricht über ICQ schicken
Standard

um etwas pingelig zu sein

die variable heißt

$_SESSION


bps:
index.php
Code:
<?php
  session_start();
  $_SESSION["username"] = "row";
  // now username is availiable on all session sites
?>
...
view username
...
next.php:
Code:
<?php
 session_start();
 echo $_SESSION["username"]; 

 doOtherStuff();

 session_destroy ();
 // now username is not availiable any more
?>
____________________________________
Whoever built humanity left in a major design flaw: it was the tendency to bend at the knees.
Who-T ist offline   Mit Zitat antworten