questions on sprintf

how do i relay information to the web server through C?