tg-php@xxxxxxxxxxxxxxxxxxxxxx wrote:
Ah.. makes sense. Good old DOS is stupid enough not to card most times. You can create a text file with a "Y" in it, and redirect it into a command like:
del . < y.txt
Guess that's not a pipe technically. And some commands may be smart enough to prevent something like this.
Technically it is a pipe, but that's really beside the point.
The point I was making is that you cannot pipe something into a process
with the | character *and* redirect stdin with the < character.
The stdin redirect (<) can be used with any command that takes input
through stdin (usually the keyboard on a standard console).
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php