Jump to content


Photo

What is binary safe?


  • Please log in to reply
4 replies to this topic

#1 atitthaker

atitthaker
  • Members
  • PipPipPip
  • Advanced Member
  • 52 posts
  • LocationBanglore, India

Posted 21 August 2006 - 04:37 AM

I have rad lots of time in the manual that this function is "binary-safe". But I don't understand what is binary safe.

Can anybody plz tell me what's binary safe?

Thanks. ???
Beginner with PHP and need help

#2 pocobueno1388

pocobueno1388
  • Members
  • PipPipPip
  • Advanced Member
  • 3,369 posts
  • LocationPalm Beach, Florida

Posted 21 August 2006 - 04:51 AM

"A binary-safe function is a function or operation that can be performed on a binary file without modifying the contents of the file. This ensures that the file is not corrupted or mutilated by the function or operation."

I got that off of:
http://whatis.techta...i885186,00.html

#3 atitthaker

atitthaker
  • Members
  • PipPipPip
  • Advanced Member
  • 52 posts
  • LocationBanglore, India

Posted 21 August 2006 - 05:05 AM

Thanks. And a wonderful site to bookmark. More one can learn from there.
Beginner with PHP and need help

#4 atitthaker

atitthaker
  • Members
  • PipPipPip
  • Advanced Member
  • 52 posts
  • LocationBanglore, India

Posted 23 August 2006 - 09:53 AM

I still have one doubt regarding binary safe functions.
Does it mean that if a PHP function is *not* binary safe than I am going to corrupt that file by invoking that function and use file there?


Plz help.
Beginner with PHP and need help

#5 pocobueno1388

pocobueno1388
  • Members
  • PipPipPip
  • Advanced Member
  • 3,369 posts
  • LocationPalm Beach, Florida

Posted 24 August 2006 - 01:34 AM

I am not sure...but I would assume so. I would definitely use the binary safe mode just to be safe.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users