You are here: Re: Problem with addslashes « PHP Programming Language « IT news, forums, messages
Re: Problem with addslashes

Posted by Jψrn Dahl-Stamnes on 02/26/07 12:59

Willem Bogaerts wrote:

> Before you do that (and frankly, you shouldn't, as you are dealing with
> binary data), check the output of
>
> SHOW VARIABLES LIKE '%char%'
> on both MySQL servers. Is there any difference?

No, they both show the same.

After I posted my previous message, I realized that BLOB does not use
character sets. BLOB is pure binary.

My PHP code and SQL table is more or less identical to the guide found at
http://www.php-mysql-tutorial.com/php-mysql-upload.php

However, when I downloaded the SAME file from the client to the test- and
test-server, the size of the file is different by 7 bytes! That sounds
strange to me.

I also tried to fire up my cold standby prod-server, same shit as on the
prod-server. The standby prod-server also run RH 7.3, which is what the
test-server does.

I have tried to debug this for a month now, trying all kinds of stunts - no
luck. I'm beginning to get rather frustrated!!

--
JΓΈrn Dahl-Stamnes
http://www.dahl-stamnes.net/dahls/

 

Navigation:

[Reply to this message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация