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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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