It seems to me a problem with the ' signs.

I have posted, stored, and retrieved html in many projects, using IE6, and
every time an error like this one showed up, the causes happened to be one
of these:

    magic_quotes of PHP were not taken into account in the PHP code.
    strings delimiters (' and ") were not handled correctly (this may be a
severe bug, because it can lead to SQL inyection situations)

Manu.


"Pablo Gosse" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi all.  I'm not sure if this is a browser issue, or a php issue, but
while I'm leaning more towards the side of browser I'm not really
certain and I'm interested to see if anyone has had problems similar to
this.

I've got a form by which html code is being submitted to a database.
When I submit the form for some reason the code is being mangled.  About
the last half of the code is pasted at the end of the correct code, thus
rendering it useless.

Please view the text files via the links below to see what I mean.

The code as it should be submitted is here:
http://web.unbc.ca/~gossep/good_code.txt

The code as it is received after being posted is here:
http://web.unbc.ca/~gossep/bad_code.txt

As you can see, everything from just after the onmouseout handler on
line 10 to the end of the code is being replicated at the end of the
code.

Again, this happens immediately after the data is posted.

Does anyone have any ideas here?

TMIA,
Pablo

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

Reply via email to