Page 1 of 1

Write a formatted string to a stream in php 4.x

Posted: Mon Aug 14, 2006 6:18 am
by OmidReza
Hello.
I want to write a formatted string to a stream (file) but not in php 5.
In php 5 " fprintf() " do this BUT I have php 4. " fprintf() " only support in php 5 !

Thanks, bye.

Posted: Mon Aug 14, 2006 9:23 am
by feyd
so combine fwrite() and sprintf()