Help ! how can i have user name and users informations ? Help ! how can i have user name and users informations ?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Help ! how can i have user name and users informations ?

Started by antisa33, October 23, 2005, 04:26:35 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

antisa33

Hello,
In an other page : this page with this code :


<?php
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader('test');

?>


//it is not $user_name, so what is it to have $user_name ?
echo "Bienvenue hello  $user_name";

  <?php
pagefooter
();
?>





What is the best code to have the user informations (user_name, user id etc) ?
Make a function ? Doing with $HTTP_POST_VARS ?
Thank you fo your help !!
Isa

I find i have to put

echo USER_NAME;

But i would like to know now in this new page witch is just after displayimage.php how can i have the before image informations ? (pic_url...)
Thank you a lot !!!!

I clic on a personal link in displayimage.php and i would like to have this page with image informations :


<?php
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader('test');

?>


echo "$pic_name, $pic_url etc";

  <?php
pagefooter
();
?>





Thank you very much