Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Help ! how can i have user name and users informations ?  (Read 2384 times)

0 Members and 1 Guest are viewing this topic.

antisa33

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 181
    • Free french kids coloring
Help ! how can i have user name and users informations ?
« on: October 23, 2005, 04:26:35 am »

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

Code: [Select]
<?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 :

Code: [Select]
<?php
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader('test');

?>


echo "$pic_name, $pic_url etc";

  <?php
pagefooter
();
?>




Thank you very much
« Last Edit: October 23, 2005, 04:38:13 am by antisa33 »
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.