Re: [gbd-dev] Use of Gubed in ~home/public_html
Status: Beta
Brought to you by:
mccabe
From: Linus M. <Li...@mc...> - 2005-10-08 08:25:26
|
On Tuesday 24 May 2005 20.10, Brett Serkez wrote: > <a > href="/gubed/StartSession.php?gbdScript=/gubed/home/subdir/test.php">Test > Gubed</a> > > What I'd really like to do in the second case is more like: > > <a href="/gubed/StartSession.php?gbdScript=~home/subdir/test.php">Test > Gubed</a> This can be done, but there has to be a leading /. > <a href="/gubed/StartSession.php?gbdScript=/~home/subdir/test.php">Test > Gubed</a> (I'll look into if its possible to have Gubed automatically figure out the leading slash issue.. Since it always needs to be there, is shouldnt be a problem) /Linus > > but doesn't work as it looks like StartSession.php attempts to prepend > the script with an absolute path. > > Even better would be something like: > > <a href="/gubed/StartSession.php?gbdScript=test.php">Test Gubed</a> > > as there is a subtle issue here that requires specifying a full path, as > there is no memory as to the current working directory. Normally > scripts chain to each other from the same path, which I think might be > doable if StartSession.php didn't force the issue. > > Any advise or simplified methodology greatly appreciated. > > Thanks, > > Brett > > > > > > > > ------------------------------------- > Brett C. Serkez, Technical Trainer > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > Gubed-devel mailing list > Gub...@li... > https://lists.sourceforge.net/lists/listinfo/gubed-devel |