
02-28-2003, 11:37 AM
|
 |
|
|
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally posted by jacobi
Hi msimplay,
I visited an earlier post (linked below) on page 10 of this thread and figured out how to hand-code "links.php" to allow special characters.
In the current release (2.2.8), the "linkname" code already has the modification needed to allow these special characters, but you still need to change the "linkdesc" (link description) code.
Find this:
PHP Code:
VALUES ('$catid', '".addslashes(htmlspecialchars($linkname))."', '$linkurl', '$linkdesc', $vd)");
And Change to:
PHP Code:
VALUES ('$catid', '".addslashes(htmlspecialchars($linkname))."', '$linkurl', '" .addslashes (htmlspecialchars ($linkdesc )). "', $vd)");
Here's the post I referenced above that needed to be changed (post #142 on page 10 of this thread).
|
thanks for that i would have used what it said on that page
but when i came to check the links.php first time around i noticed that the code refrenced was different to the code in the second version of links.php which is what i downloaded
anyway thanks for that
|