I have this SQL:
INSERT INTO v3_peers
(torrent, peer_id, ip, ipv6, port, smoke_ip, uploaded, downloaded, up_ofset, down_ofset, remaining, started, last_action, connectable, userid, agent)
VALUES
('13471', '-UT2200-ĂZŤjśŻl‰şđ^', '69.64.147.243', '2001:0:5ef5:79fd:14e6:7214:2a5f:5811', '58262', '', '0', '0', '0', '0', '0', '1334945327', '1334945327', 'yes', '1', 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.162 Safari/535.19')
When it is executed in script it is saved to db, but peer_id is only "-UT2200-" and browser give me dialog to save file with name of sript and content whitch should be returned as php output in plain/text
When I insert this into db by phpmyadmin everything is ok.
peer_id have datatype varchar(255)
Any ideas what is wrong?