View Single Post
Old 04-01-2004, 12:48 AM   #2
Head Mole
Charter's Avatar
Join Date: May 2003
Posts: 2,539
Hi. Good eye! Yes, I see the problem when a link like is encountered without an ending slash. Untested, but an alternative solution might be the following:
PHP Code:
if (($regs[5] != "") && ($regs[8] == "")) {
$links[$index] = array("path" => """file" => "");
elsif (substr($regs[8],0,1) == "/") {
$links[$index] = phpdigRewriteUrl($regs[8]);
else {
$links[$index] = phpdigRewriteUrl($path.$regs[8]);

Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote