php-windows Digest 28 Mar 2006 05:10:02 -0000 Issue 2924
Topics (messages 26796 through 26796):
Re: strange caracters
26796 by: Armando
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
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"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
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
--- End Message ---