Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $currentPage = $_SERVER['REQUEST_URI'];
- session_start();
- #Fonctions diverses et variées
- require('functions.inc');
- require('cache.inc');
- require('maj_mine.php');
- /* gestion de l'activité */
- if(isset($_SESSION['psd'])){
- $psdMe = $_SESSION['psd'];
- $pageEnCours = $currentPage.'@'.time();
- $testReq = $bdd->prepare('UPDATE users SET current_activity = ? WHERE psd = ?');
- $testReq->execute([$pageEnCours, $psdMe]);
- }
- [..]
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement