[PHP] printing special characters in PHP

2006-07-11 Thread Antonio Bassinger
Dear ALL, I've an binary file with special (non-printable) characters including '' '/' ''. I retrieve this file from the database, into a variable $binaryFILE. I then copy the content to a temporary file, opened with handle $handle : if (!fwrite($handle, $binaryFILE)) { echo Failed

Re: [PHP] Tables vs. databases

2006-06-12 Thread Antonio Bassinger
] wrote: On 6/9/06, Antonio Bassinger [EMAIL PROTECTED] wrote: Hi gang, Situation: I've a HTTP server. I intend to run a file upload service. There could be up to 1 subscribers. Each saving files up to 10 MB. I made a proof-of-concept service using PHP MySQL, where there is a single

[PHP] Tables vs. databases

2006-06-09 Thread Antonio Bassinger
Hi gang, Situation: I've a HTTP server. I intend to run a file upload service. There could be up to 1 subscribers. Each saving files up to 10 MB. I made a proof-of-concept service using PHP MySQL, where there is a single database, but many tables - a unique table for each subscriber. But

[PHP] Update table to get consecutive Primary keys

2006-06-08 Thread Antonio Bassinger
Hi All! I've a MySQL table: table (id INT NOT NULL AUTO_INCREMENT, flag TINYINT NOT NULL, msgID VARCHAR(30) NOT NULL, msgName VARCHAR(30), size INT NOT