%s stands for string and %d standards for decimal number, %s stands for hexadecimal.
so if you were printing out a string - you could assume that
sprintf($sbuf, "%s: %d", "Test", 12);
would set sbuf to
Test: 12
RW
===========================================
http://badblue.com
Small footprint P2P web server for Windows,
File-sharing, PHP, wireless apps & more