coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: antisa33 on October 23, 2005, 04:26:35 AM

Title: Help ! how can i have user name and users informations ?
Post by: antisa33 on October 23, 2005, 04:26:35 AM
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