PDA

View Full Version : CGI script path


flowersource
04-25-1999, 09:38 AM
These are examples of the current path set up in a script that I am trying to install:

$htm_path = "../vizbook/vizbook.htm";
$pics_dir = "pics";
$admn_picspath = "../vizbook/pics";
$admn_picsdir = "../vizbook/pics";

Should this be the correct setup for the paths?:

$htm_path = "/big/dom/xflowersource/vizbook/vizbook.htm";
$pics_dir = "pics";
$admn_picspath = "/big/dom/xflowersource/vizbook/pics";
$admn_picsdir = "/big/dom/xflowersource/vizbook/pics";

The TOP path set up does not find vizbook.htm

Any help would be appreciated.

Thanks,
Mike

Dean B
04-25-1999, 11:25 AM
Mike,
Vizbook is a real temperemental so and so with paths. Paths below will work for you (they do me http://www.aota.net/ubb/smile.gif)


$htm_path = "/big/dom/www/xflowersource/vizbook/vizbook.htm";
$pics_dir = "pics";
$admn_picspath = "/big/dom/www/xflowersource/vizbook/pics";
$admn_picsdir = "http://www.flowersource.com/vizbook/pics";


Dean.

Bi4Be
04-25-1999, 02:20 PM
*WRONG!!!* http://www.aota.net/ubb/biggrin.gif

Aren't you supposed to have your xYOURDOMAINNAMETHINGY and WWW switched around? For me the following works.
I use this for paths:
/big/dom/xbid4beanies/www/yada/yada/

Just pointing out the obvious. *evil grin of doom* http://www.aota.net/ubb/biggrin.gif
-Bi4Be

[This message has been edited by Bi4Be (edited 04-25-99).]

[This message has been edited by Bi4Be (edited 04-25-99).]

Dean B
04-25-1999, 02:37 PM
Errr.... oops, slight slip of the brain there http://www.aota.net/ubb/smile.gif I hate cutting n' pasting in these text boxes. Correctamundo Bi4BE, it should read -

$htm_path = "/big/dom/xflowersource/www/vizbook/vizbook.htm";
$pics_dir = "pics";
$admn_picspath = "/big/dom/xflowersource/www/vizbook/pics";
$admn_picsdir = "http://www.flowersource.com/vizbook/pics";


Dean.

flowersource
04-25-1999, 05:29 PM
Dean,
thank you muchly. I have been fighting that thing for days. I am 'cgi script path' challenged.

Just taking a look at the implementation of that script on your website http://www.dmcity.com convinces me that this is a very flexible and worthwhile script. Thanks again for the install.

Mike