
11-28-2005, 04:07 PM
|
|
|
Join Date: Aug 2005
Location: Leuven (Belgium)
Posts: 930
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by buro9
There's a bug with the insert statement. If the username contains an apostrophe then the insert fails.
Simple solution, find the INSERT statement in VBGooglemap.php (there's only one), and replace $newusername with addslashes($newusername)... I've added slashes to $newtext_map too as I think that would also suffer the same problem.
Oh... and I've had to change significantly the HTML. The stuff in the hack is great as a prototype, but none of it is XHTML Transitional compliant. Biggest error being the missing close </html> tag, readonly not having value is up there, as are <img> tags not having alt="", and a lack of self-closing <br />'s.
stonyarc, if you want me to submit back to you my HTML changes, just ask.
|
Buro 9,
Thanks for your efforts.
If you could send me your changes, I'll drop them in the next version.
|