How to stop a program from storing more than a single character into a char variable?

<>

This question already has an answer here:

Answers


Use a string buffer, fgets() into it, check if the second character is a \n.


Need Your Help

phing + sftp to upload site as part of automated build

php deployment build-automation sftp phing

Does anybody know of an easy way to upload files to a remote server using SFTP from within a Phing build? I cant seem to find a custom or native Phing task to do this. The other problem is the