Re: SQL failures, new navigation system and other things
Brought to you by:
iridium
From: Martin G. <gim...@gi...> - 2002-08-31 10:05:51
|
Ondrej Jombik <ne...@po...> writes: > [...] > > I hope, that now you understand what I was talking about. If > not, no matters. It is only precision issue, not real problem. Icao > will probably never contains any from problematic characters and if > so, everything will probably works well. Thanks for the explaination - I now see the problem. I agree that we shouldn't addslashes() in set_icao() but instead delay it to the generation of queries. I don't think we should worry about stripping slashes from the ICAO in get_location() - if someone has used a ICAO with things like quotes in it, then they deserve to get slashes back :-) But as you say, this will probably never happen. -- Martin Geisler My GnuPG Key: 0xF7F6B57B See http://gimpster.com/ and http://phpweather.net/ for: PHP Weather => Shows the current weather on your webpage and PHP Shell => A telnet-connection (almost :-) in a PHP page. |