"John P . Looney" <[EMAIL PROTECTED]> said:
> This is a bit strange. I've an active page
> http://midgard.linux.ie/articles
>
> And, using the $object->searchparamters thing...
>
> if($argv[0] == "id") {
> $article_id=$argv[1];
> $article = mgd_get_article($article_id);
> } else if ($argv[0]=="static") {
> $article = mgd_get_article();
> $article->create();
> $article->searchparameters("url = $argv[1]",0);
> $article->fetch();
> echo "ARGS: $argv[0] $argv[1] $argv[2] XX";
> } else if ($argv[0]=="News") {
> $root_topic=mgd_get_topic_by_name($argv[1]);
> } else {
> echo "Don't know how to handle it";
> }
>
> But, for some reason it's not working on
>
> http://midgard.linux.ie/articles/static/something.html
>
> If you go to that page, you'll see that argv[1] is "something" - it
> seems that in a URL, anything after a "." is truncated. Is this supposed
> to happen ?
yes, it's in the manual somewhere....
>
> Kate
>
> --
> When I say 'free', I mean 'free': free from bond, of chain or command:
> to go where you will, even to Mordor, Saruman, if you desire. "
> -- Gandalf, paraphrasing the choice between Free and Non-free software
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
Technical Director
Linux Center (HK) Ltd.
www.hklc.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]