Re: [PHP] printing special characters in PHP

2006-07-11 Thread tedd
At 10:16 AM + 7/11/06, Antonio Bassinger wrote: >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 :

Re: [PHP] printing special characters in PHP

2006-07-11 Thread nicolas figaro
Antonio Bassinger a écrit : Dear ALL, I've an binary file with special (non-printable) characters including '<' '/' & '>'. I retrieve this file from the database, into a variable $binaryFILE. $binaryMS = explode("",$binaryMMS); foreach ($binaryFILE as $ii) { echo $ii; try this : echo htmlspec

Re: [PHP] printing special characters in PHP

2006-07-11 Thread Jochem Maas
Antonio Bassinger wrote: > Dear ALL, > > I've an binary file with special (non-printable) characters including '<' > '/' & '>'. I retrieve this file from the database, into a variable those 3 chars are not non-printable (the fact that I see them in this email is proof enough. > $binaryFILE. > >

[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 "Fai