A unf. social network done poorly.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

13 řádky
427B

  1. <?php
  2. // save as /includes/session.php
  3. // Disable transparent session id support (makes sessions shaerable via url, we do not want this!)...
  4. ini_set('session.use_trans_sid', 0);
  5. // Have PHP give us a new session ID and destroy the old one and everything associated with it, this is an additional step to help prevent session hijacking...
  6. session_regenerate_id(true);
  7. // Start the session...
  8. session_start();
  9. ?>