1
Elektron
How can i...
  • 2005/11/4 2:05

  • Elektron

  • Just popping in

  • Posts: 5

  • Since: 2005/11/4


I use this code to get the active user..

global $xoopsUser;
$exp = $xoopsUser->getVar('uname');

how can i get the XOOPS_URL ?

Thk.

2
JMorris
Re: How can i...
  • 2005/11/4 4:51

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


First, Welcome to XOOPS!

Here's how I did it in the XOOPSInfo module...

global $xoopsDB$xoopsConfig$xoopsModule;
include(
"admin_header.php");
xoops_cp_header();

echo (
'Website URL:');
echo 
XOOPS_URL;


Hope this helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

3
Elektron
Re: How can i...
  • 2005/11/4 6:11

  • Elektron

  • Just popping in

  • Posts: 5

  • Since: 2005/11/4


It's Work.. Thk!

Login

Who's Online

215 user(s) are online (173 user(s) are browsing Support Forums)


Members: 0


Guests: 215


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits