Announcement

Collapse
No announcement yet.

relative path position

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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>



    #2
    relative path position



    On Wed, 13 Apr 2005 10:57:56 -0300, Roberto Buccino
    <[email protected]> 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



    Comment


      #3
      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
      >
      > <[email protected]> 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>


      Comment

      Working...
      X