Are ob_start / ob_get_clean() considered bad practice by php programmers in general?
ob_start
ob_get_clean()
Are there any disadvantages of output buffering?
Answer
It's actually a good practice. Speed up data transfer
I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print ...
No comments:
Post a Comment