Click here to Skip to main content
15,881,639 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
Hi All,

I work in Linux shell script.

I want to capture username/user id the person who upload the files.

This is my trial but failed..

PHP
<?php
session_start();
$_SESSION['views'] = 1; // store session data
//echo "Pageviews = ". $_SESSION['views']; //retrieve data

echo "$USER"

?>
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900