From: Colin Guthrie
>'Twas brillig, and Bob McConnell at 28/02/11 13:23 did gyre and gimble:
>> XHTML also requires all tags, attribute labels and values to be in
lower
>> case and values must be quoted. So your original content should be
>>
>> > width="621">
>>
>> > src="../images/spacer.g
'Twas brillig, and Bob McConnell at 28/02/11 13:23 did gyre and gimble:
> XHTML also requires all tags, attribute labels and values to be in lower
> case and values must be quoted. So your original content should be
>
>width="621">
>
>src="../images/spacer.gif">
>
Actually, in xhtml th
Yes, the magic quotes will get you, but they are meant to "protect" you.
Either
1. Go into php.ini and disable them
2. Create an include file that you include in each script, in it, use ini_set() to
disable magic quotes at run time http://us2.php.net/manual/en/function.ini-set.php
-Origina
echo "";
this doesnt work cause the engine doesnt like that
try this
echo "";
"Anthony" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> tough to tell... but it looks like you have the " and ' mixed up before
the
> > in the end :-P
>
> - Anthony
>
> "Lso ." <[EMAIL PROTECTED]
tough to tell... but it looks like you have the " and ' mixed up before the
> in the end :-P
- Anthony
"Lso ." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> ok i see why i didnt work but i dont know why.
>
> can anyone tell me why this works:
>
>
>
> but this doesn't:
>
> ech
Javier Montserat wrote:
> Hi
>
> Single quote's in strings entered via a text input field are
> subsequently appearing with what appears to be an escape character -
>
> comm\'ents
>
> how can i correct this? I've tried
> htmlspecialchars($string, ENT_QUOTES);
> and
> htmlentities($string, ENT_QUO
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
says...
> Hi
>
> Single quote's in strings entered via a text input field are subsequently
> appearing with what appears to be an escape character -
>
> comm\'ents
>
> how can i correct this? I've tried
> htmlspecialchars($string, ENT_QUOTES)
I would guess your value doesn't have double quotes around.
Because what might happen is this:
http://www.inerciasensorial.com.br
"Monty" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If someone enters this into a field...
>
>New York "City"
if you're using Apache, try creating an .htaccess file with this line in it:
php_value magic_quotes_gpc 1
"Monty" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If someone enters this into a field...
>
>New York "City"
>
> and I need to re-display it in
http://www.php.net/manual/en/function.stripslashes.php
Check that out, it might help.
"Monty" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> If someone enters this into a field...
>
>New York "City"
>
> and I need to re-display it in the field (if an error
10 matches
Mail list logo