Re: Vanishing dollar signs!

Marcel van der Boom <[email protected]>
Newsgroups gmane.comp.cms.xaraya.user
Organization Xaraya
Message-ID <[email protected]>
Tanc wrote:
> Hi Jason,
> 
> I tried your suggested symbol combinations:
> $
> $$
> $foo
> 0.50
> $!
> 
> Each produced the expected result, nothing was removed or altered. Its 
> only when I write a dollar sign followed immediately by a number that it 
> vanishes. So writing $5 on the form results in it being completely 
> removed. Writing $f has no effect and it appears on the page fine.
> 
I can not reproduce this locally, (see 
http://debug.hsdev.com/index.php?module=articles&func=display&ptid=1&aid=1 
)
  but it sounds like the $ is interpreted somehow as a variable in 
content (which should not happen by defaul, but may be possible in 
certain configurations if you instruct Xaraya to explicitly do so; 
through a transform hook for example)

The only difference between $5 and $f from a php point of view would 
be that $5 is always invalid while $f 'may' be valid. Are you 
suppressing errors, i.e. try to set errorlevel to the maximum and see 
if you get stuff back.

Weird problem though, never seen it before.

marcel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.