5 quizzes found.
Which of the following are not true about streams?
Using flock() to lock a stream is only assured to work under what circumstances?
What is wrong with the following code snippet? Assume default configuration values apply.
<?php $fp = fsockopen('www.php.net', 80); fwrite($fp, "GET / HTTP/1.0\r\nHost: www.php.net\r\n"); $data = fread($fp, 8192); ?>