home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Book HomePHP CookbookSearch this book

18.5. Reading from Standard Input

18.5.3. Discussion

Section 20.4 discusses reading data from the keyboard in a command-line context. Reading data from standard input isn't very useful in a web context, because information doesn't arrive via standard input. The bodies of HTTP POST and file-upload requests are parsed by PHP and put into special variables. They can't be read on standard input, as they can in some web server and CGI implementations.

18.5.4. See Also

Section 20.4 for reading from the keyboard in a command-line context; documentation on fopen( ) at http://www.php.net/fopen.



Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.