Thread: Include
View Single Post
Old 06-12-2005, 12:44 PM   #11 (permalink)
FGTH
Contributing Member
 
FGTH's Avatar
 
Join Date: 03-06-04
Location: NY, CT, CA, AZ
Posts: 574
iTrader: 0 / 0%
Latest Blog:
None

FGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to allFGTH is a name known to all
When using absolute paths for includes, always call from the correct absolute path (unsecured or secured).

The code I inserted checks if the current page is http: (unsecured) or https: (secured) and calls the include from from the correct path (either the unsecured absolute path or the secured absolute path).

Placing unsecured absolute paths into a secured page breaks the SSL on that page (if using IE, you'll see the lock with a red crack through it on the bottom right).
__________________
"90% of the game is half mental."
--Yogi Berra
Elizabeth Arden
FGTH is offline   Reply With Quote