Thanks, that worked great!
I do have a question though. When using the http://sitename/chots/3001/ it works just
as advertised. But when using: http://sitename/chots/3001/nextpage/ the argv[0]
doesn't work anymore. Is there some sort of hierarchy with the argv[] command? I
wanted to also retrieve status on the "nextpage" level as well. Is there docs on it?
(Maybe I answer my own question. Does the directory structure need to be
"static/normal" all the way down to the last "active" page?
thanks,
sean.
----- Original Message -----
From: "Emiliano" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 26, 2000 10:03 AM
Subject: Re: [midgard] [Q] How to find dynamic page name information.
> Sean D. Ackley wrote:
>
> > Hello again, I have been on haitus as I got married. I am now back into
> > the swing of things, and broiled into getting our Site Content working...
>
> Spring is in the air? No, wrong season. Congratulations, anyway :)
>
> > Question: If I create an active page (is this correct?) called "chots" off
> > of the root, and then lets say access it via http://sitename/chots/3001/
> > I would like to have the PHP code on the "chots" page read the 3001
> > and then dynamicly read a php file called 3001.php and cause it to load
> > right into the currently read page.
>
> This information will be available in $argv ($argv[0] will be 3001 in
> this instance), or you can use $midgard->uri, which will hold the full
> path.
>
> After that I suppose it would be easiest to use 'include'.
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]