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'.

Emile


--
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]

Reply via email to