After a little sleep I determined that the regex Leon provided does work
like a charm after all (sorry about the previous post).  The problem was in
the email verification in Submit_Order.  Checkout was stalling on order
confirm.  I followed previous suggestions on the list  to fix the email
verification and all is well.

Would like to thank everyone for their help and patience.  FT is a great
product.

Kevin

Happy New Years!

----- Original Message -----
From: Leon Atkinson <[EMAIL PROTECTED]>
To: FreeTrade <[EMAIL PROTECTED]>
Sent: Wednesday, December 20, 2000 8:58 PM
Subject: Re: [FreeTrade] Weird Slash // Problem


Kevin, are you sure the SSL server is running PHP 4?  Well, in any event, I
guess you need to detect whether you have a slash on the end of
dirname($SCRIPT_NAME) and add one if you don't.  You can use a regular
expression like

$temp_ExternalPath = dirname($SCRIPT_NAME);
 if(!ereg(".*/$", $temp_ExternalPath))
{
    $temp_ExternalPath .= "/";
}
define("EXTERNAL_PATH", $temp_ExternalPath);


But I'd be really interested to know if the Web server on 443 is really
running PHP 4 as an Apache module.

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]

Reply via email to