Re: [gbd-dev] Gubed under Windows/Apache
Status: Beta
Brought to you by:
mccabe
From: Linus M. <Li...@mc...> - 2005-10-08 15:49:52
|
On Sunday 26 June 2005 22.11, Brett Serkez wrote: > I then moved on to replicating the Linux home public_html environment. > Since Windows doesn't have soft-links, I had to copy StartSession.php > into the desired directory and then fully qualify the path to Gubed > includes. I attempted to update the php include path which didn't work, > even to the extent of seeing the correct directory in the error message. > I modified the require_once and include near the bottom of > StartSession.php like so: > > require_once('C:\Program Files\Apache > Group\Apache2\htdocs\ServerScripts\GubedFunctions.php'); > > include('C:\Program Files\Apache > Group\Apache2\htdocs\ServerScripts\Gubed.php'); > > So far this environment *seems* to work as well at the Linux > environment. To this, I'd suggest an alternative method: In the user's home dir, put a php file that looks like this: <?php require_once('C:\Program Files\Apache Group\Apache2\htdocs\Gubed\StartSession.php'); ?> Pros: * You don't need full copies of StartSession.php with altered paths * The user cant change port etc by altering their StartSession file On the other hand; you can use the global StartSession to debug user's script, why do you need a copy in each user's home dir? /Lnus > Brett > ------------------------------------- > Brett C. Serkez, Technical Trainer > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > Gubed-devel mailing list > Gub...@li... > https://lists.sourceforge.net/lists/listinfo/gubed-devel |