Re: Missing characters when processing scripts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, June 30, 2005 11:04 am, Charlene said:
> I have a semi -random problem that characters in the php script are
> dropped.  A very noticible instance is in a statement like:
>
> $query = "SELECT junk FROM table";
> $result = mysql_query( $query, $handle)  or die (mysql_error());
>
> I get an error message from the die function like:
>
> "Error ....  SELECT jnk FROM table...
>
> As you can see the error message has the SELECT statement with one
> character dropped (this is much more rare than single quotes or
> semicolons being dropped - but it definitely shows that the error isn't
> in the code).
>
> If I wait a minute and do a browser refresh, the error goes away and
> either there is another character dropped or it works.
>
> This problem was noticed in January a month after we upgraded PHP on our
> server to 4.3.10.

Another recent poster was having random characters converted to non-ASCII
characters.

SELECT j*nk FROM table

where * is really a u with an umlaut, but I dunno how to get that out of
my keyboard...

It's possible that you have the same thing, but your software is not
displaying non-ASCII characters.

Even if it's not, I guess it could be related...

Anyway, dig into his thread from a couple weeks back in case that got
resolved...

I'd also check http://bugs.php.net

And maybe try going to 4.3.11 instead of .10, unless you have a very
specific reason for not going there.

-- 
Like Music?
http://l-i-e.com/artists.htm

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux