On Sun, 23 Mar 2003 10:51:43 -0500, you wrote:

>My question was about input.  What happens if someone enters an ASCII 
>147 or 148 in a form field, for example?  Will PHP interpret them as 
>quotes?  Or is only an ASCII 34 seen as a quote.  If the former, will 
>addslashes() add shashes to them?

I see. No, they're not quotes in the PHP sense - they can be used as
part of a string literal without escaping.

However, in your example (form submission) it's a moot point - HTTP
multipart/form-data uses MIME (CRLF + a content boundary), not quotes,
to bracket data. See the end of
http://www.w3.org/TR/REC-html40/interact/forms.html to get a feel for
what a raw form submit from a browser looks like.


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

Reply via email to