Intermittent escaping backslashes appear in output

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tom Chadwin

    Intermittent escaping backslashes appear in output

    Hello all

    Using PHP 4.1.2, I am seeing intermittent visible escaping backslashes
    in my HTML output. Try refreshing the following page a few times to
    see what I mean:



    It seems totally random. Any ideas? The extra escaping backslashes are
    not present in the underlying MySQL records. magic_quotes_gp c is on.

    Thanks,

    Tom
  • Tim Tyler

    #2
    Re: Intermittent escaping backslashes appear in output

    Tom Chadwin <tom.chadwin@gm ail.com> wrote or quoted:
    [color=blue]
    > Using PHP 4.1.2, I am seeing intermittent visible escaping backslashes
    > in my HTML output. Try refreshing the following page a few times to
    > see what I mean:
    >
    > http://www.actorscentrene.co.uk/thre...ssageThread=25
    >
    > It seems totally random. [...][/color]

    It seems totally deterministic and predictable to me :-|

    Calling stripslashes(.. .) before outputting looks like it would fix things.
    --
    __________
    |im |yler http://timtyler.org/ tim@tt1lock.org Remove lock to reply.

    Comment

    • Tom Chadwin

      #3
      Re: Intermittent escaping backslashes appear in output

      > It seems totally deterministic and predictable to me :-|
      [color=blue]
      > Calling stripslashes(.. .) before outputting looks like it would fix things.[/color]

      Probably so, but that is treating the symptom, not the cause. Why
      would the backslashes only appear intermittently and not consistently?

      Thanks,

      Tom

      Comment

      • Tim Tyler

        #4
        Re: Intermittent escaping backslashes appear in output

        Tom Chadwin <tom.chadwin@gm ail.com> wrote or quoted:
        [color=blue][color=green]
        > > It seems totally deterministic and predictable to me :-|[/color]
        >[color=green]
        > > Calling stripslashes(.. .) before outputting looks like it would fix things.[/color]
        >
        > Probably so, but that is treating the symptom, not the cause. Why
        > would the backslashes only appear intermittently and not consistently?[/color]

        They *did* appeare totally consistently when I observed your page.

        *Now* they don't appear (also consistently).

        In both cases I tested using many page refreshes.

        I presume this indicates that you have resolved the problem.
        --
        __________
        |im |yler http://timtyler.org/ tim@tt1lock.org Remove lock to reply.

        Comment

        • Tom Chadwin

          #5
          Re: Intermittent escaping backslashes appear in output

          > I presume this indicates that you have resolved the problem.

          No. I have altered nothing. I, too, cannot get them to appear now. As
          I say, intermittent.

          Thanks,

          Tom

          Comment

          Working...