That didn't do it.  That regex messes up the include paths on our machine.

This has really got me stumped.

Thanks for everyone's suggestions.

Kevin
----- Original Message ----- 
From: Tommy TradeIT <[EMAIL PROTECTED]>
To: FreeTrade <[EMAIL PROTECTED]>
Sent: Thursday, December 21, 2000 1:17 AM
Subject: Re: [FreeTrade] Weird Slash // Problem


Ok i think this is what you need Kevin



define("APPLICATION_ROOT", ereg_replace("([^/\\]*)$", "\\1",
dirname(__FILE__)));
define("EXTERNAL_PATH", dirname($SCRIPT_NAME) . "/");

I guess i have made this to work on mine and i had the sae problem as you
are having now?
Hope you get it!


Merry Christmas
Tommy


----- Original Message -----
From: "Kevin Leavell" <[EMAIL PROTECTED]>
To: "FreeTrade" <[EMAIL PROTECTED]>
Sent: Wednesday, December 20, 2000 2:54 PM
Subject: Re: [FreeTrade] Weird Slash // Problem


> When I do that, the menu ahref links become
> www.bigskybrew.comstore.php?blabla after going through the login process.
>
> Notice the missing slash between comstore -should be com/store
>
> Kevin
>
> ----- Original Message -----
> From: Leon Atkinson <[EMAIL PROTECTED]>
> To: FreeTrade <[EMAIL PROTECTED]>
> Sent: Wednesday, December 20, 2000 11:13 AM
> Subject: Re: [FreeTrade] Weird Slash // Problem
>
>
> For some reason dirname() changed between PHP 3 and PHP 4.  If you're
> running under PHP 4, get rid of the addition of slash to the end of
> EXTERNAL_PATH.
>
> Leon
>
>
>
>
> ------------------------------------------------------------
> To subscribe:    [EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Site:            http://www.working-dogs.com/freetrade/
> Problems?:       [EMAIL PROTECTED]
>
>
>
>
> ------------------------------------------------------------
> To subscribe:    [EMAIL PROTECTED]
> To unsubscribe:  [EMAIL PROTECTED]
> Site:            http://www.working-dogs.com/freetrade/
> Problems?:       [EMAIL PROTECTED]
>



------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]




------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Site:            http://www.working-dogs.com/freetrade/
Problems?:       [EMAIL PROTECTED]

Reply via email to