Advanced Search
Search Results
3 total results found
What are the differences between addslashes(), mysql_escape_string() and mysql_real_escape_string()
addslashes() escapes single quote (’), double quote ("), backslash (\) and NUL (\x00).mysql_escape_string() and mysql_real_escape_string() escapes the characters above plus: CR (\r), LF (\n) and EOF (\x1a). Apparently (according to the manual), MySQL wants the...
csh and single quotes
In csh, using quotes in a quoted string can be tricky, especially if the string contains both single and double quotes. If you use single quotes to quote the string, use ‘\’’ (a single quote, a backslash followed by two single quotes) where you want to insert ...
What characters can go into a valid HTTP URL?
Section 5 of RFC 1738 – Uniform Resource Locators specifies the format of an HTTP URL:httpurl = "http://" hostport [ "/" hpath [ "?" search ]][definition of hostport omitted]hpath = hsegment *[ "/" hsegment ]hsegment = *[ uchar | ";" | ":...