On Tue, Jul 31, 2001 at 01:06:01PM +0200, Martin Hierling wrote:
> Hi,
> 
> <newbiequestion>
> 
> how can i get the pageid from the actual page?
> 
> As Example: Pgae www.domain.de/test/me/up . I'd like to have the id from
> "up". So, I've found mdg_get_page($id) but where can I get ID?
> Not the hint that i can obtain it from asgard/nadmin, please. Something like
> $page=mdg_get_page(this); or so??
> 
> </newbiequestion>
On the 'up' page:
<?php
        echo "My ID is " . $midgard->page . "\n";
?>

Read about $midgard object in the manual:
http://www.midgard-project.org/req/midgard-1.4/mgd-get-midgard.htm

-- 
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
  `Senior software developer and analyst for SaM-Solutions Ltd.`
---
Is that a 286 or are you just running Windows?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to