relative path position

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Guest's Avatar
    Guest replied
    relative path position



    El Mi=E9rcoles 13 Abril 2005 16:31, Richard Grevers escribi=F3:
    > On Wed, 13 Apr 2005 10:57:56 -0300, Roberto Buccino
    >
    > <alfacentauro@paralelo42.com> gave utterance to the following:
    > > Hi all
    > >
    > > Are some function return me a relative path directory?
    >
    > It should be returned in the variable s.path_info, but I'm not sure if =
    all
    > servers support it.
    >
    > Otherwise, this ought to work (coded and not tested)
    >
    > <MvFUNCTION NAME=3D"relative_path" STANDARDOUTPUTLEVEL=3D"">
    >
    > <MvASSIGN NAME=3D"l.return" VALUE=3D"{glosub(s.documenturl,s.http_host,=
    '')}">
    > <MvFUNCRETURN VALUE =3D "{glosub(l.return,'?','')}">
    >
    > </MvFUNCTION>

    Hi Richard

    I try your option, and found either with "miva_getvarlist"

    thank you for your advance

    kind regards



    Roberto Buccino
    IT Developer
    ______________________________
    Alfa Centauro Custom System
    Copahue 3480 Melipal
    (02944) 44 11 88 / 15 60 3287
    ______________________________
    San Carlos de Bariloche - Rio Negro
    Patagonia - Argentina=20
    <A HREF ="http://www.paralelo42.com">http://www.paralelo42.com</A>


    Leave a comment:


  • Guest's Avatar
    Guest replied
    relative path position



    On Wed, 13 Apr 2005 10:57:56 -0300, Roberto Buccino
    <alfacentauro@paralelo42.com> gave utterance to the following:

    > Hi all
    >
    > Are some function return me a relative path directory?
    >
    It should be returned in the variable s.path_info, but I'm not sure if all
    servers support it.

    Otherwise, this ought to work (coded and not tested)

    <MvFUNCTION NAME="relative_path" STANDARDOUTPUTLEVEL="">

    <MvASSIGN NAME="l.return" VALUE="{glosub(s.documenturl,s.http_host,'')}">
    <MvFUNCRETURN VALUE = "{glosub(l.return,'?','')}">

    </MvFUNCTION>

    --
    Richard Grevers
    Between two evils always pick the one you haven't tried



    Leave a comment:


  • Guest's Avatar
    Guest started a topic relative path position

    relative path position



    Hi all

    Are some function return me a relative path directory?






    Roberto Buccino
    IT Developer
    ______________________________
    Alfa Centauro Custom System
    Copahue 3480 Melipal
    (02944) 44 11 88 / 15 60 3287
    ______________________________
    San Carlos de Bariloche - Rio Negro
    Patagonia - Argentina=20
    <A HREF ="http://www.paralelo42.com">http://www.paralelo42.com</A>


Working...