Re: Re: strange caracters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If your site is through a web hosting service, most hosts automatically precede certain characters (",' etc.) with backslahes on a form submission. The characters you pointed out are often used as delimiters so if your form submission is intended to write to a database, these characters should be preceded by a backslash so that when the information is parsed, it treats them as literal text and not delimiters. Cheers.

Armando

Karuna wrote:
What's do you mean they're incorrect? Are they preceded by a slash?

Google for "php sql injection" and it'll help you fix it :) There's also a detailed overview of this in the php manual under the mysql_ entries.

""christian tischler"" <christian@xxxxxxxxxxxxxx> wrote in message news:4D.BB.37235.65EA7244@xxxxxxxxxxxxxxx

help please.

probably something very simple, but not for me.

when i use an online form on my website to add some text to my access database it saves certain caracters incorrectly (like ",'...)

please point me in the right direction.

christian



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux