Q.1
The ftp_size() function returns the size of a specified file on the FTP server.
Q.2
When dealing with timeout values in sockets, the connection timeout can be changed independently of the read/write time out. Which function must be used for this purpose?
Q.3
Which of the following network transports doesn’t PHP support?
Q.4
The FTP functions are used to ....... files from file servers.
Q.5
Which of the following are valid PHP stream transports?
1. http
2. STDIO
3. ftp
4. STDOUT
5. stream
Q.6
What function can you use to create your own streams using the PHP stream wrappers and register them within PHP?
Q.7
The windows version of PHP has built-in support for the FTP extension
Q.8
The ftp_mkdir() function creates a directory on the FTP server.
Q.9
Which of the following operations cannot be performed using the standard ftp:// stream wrapper? 
1. Reading a file
2. Writing a file
3. Establishing a stateful connection and changing directories interactively
4. Creating a new directory
Q.10
What will the following script do?
<?php
echo getservbyname ('ftp', 'tcp');
?>
Q.11
Which one of the following function returns the port number of a specified service?
Q.12
Which one of the following statements can be used to establish port 80 connection with www.examveda.com?
Q.13
Which one of the following function is used to send a e-mail using PHP script?
Q.14
How many configuration directives pertinent to PHP’s mail function are available?
Q.15
Which of the following statements is used to add an attachment to the mail?
0 h : 0 m : 1 s