PHP File Handling
Test
Model Test
Ebook
Quiz-1 : PHP Fundamental
Quiz-2 : PHP Variables and Datatypes
Quiz - PHP Basic 1
Quiz - PHP Fundamental 3
Quiz - PHP Advanced Concept, Networking, Super G.
Quiz - PHP Networking
Quiz PHP Object Oriented Programming
Quiz - PHP string,oop,regular expression
Quiz - PHP and MySQL
Quiz - PHP String,Security,Webservice
Index
PHP Home
PHP Fundamentals
230
PHP Input/Output
16
PHP Object Oriented Programming
59
PHP Installation & Configuration
17
Reported Questions
80
PHP Functions
16
PHP Regular Expression
33
PHP Variables and Datatypes
62
PHP Arrays
104
PHP Operators and Expressions
6
PHP Built-in Constants and Standard PHP .
10
PHP Advanced Concepts
120
PHP Error Handling
34
PHP String Operation
36
PHP Language Syntax
11
PHP Super Globals
21
PHP Datetime and timezone
4
PHP Networking
12
PHP with MySQL
5
PHP Web Service
10
PHP Security
15
PHP File Handling
9
PHP PEAR
7
PHP Control Structure
7
PHP Form Handling
1
Schools
Ebook
Question:
Which of the following is an invalid mode for opening a file?
A
r
B
rw
C
w
D
a+
E
b
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following functions is used to find the owner of a file on a UNIX system?
A
fileowner()
B
owner()
C
getowner()
D
whoisowner()
E
there is no inbuilt function for this
Note:
Not available
Show answer
Show Note
Report
Question:
Which function is used to rename flle in PHP?
A
rname()
B
fname()
C
rename()
D
change_name()
Note:
Not available
Show answer
Show Note
Report
Question:
What is the correct way to open the file “time.txt” as read and write?
A
open(“time.txt);
B
fopen(“time.txt,”r”);
C
open(“time.tx,”read”t);
D
fopen(“time.txt”,”r+”);
Note:
Not available
Show answer
Show Note
Report
Question:
If you want to read and modify file, then you put 2nd argument value of fopen() to_____
A
a+
B
r+
C
w+
D
r
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following function removes the specified directory?
A
removedir()
B
deletedir()
C
rmdir()
D
touch()
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following function reads an entire file?
A
fread()
B
readfile()
C
file()
D
fwrite()
Note:
Not available
Show answer
Show Note
Report
Question:
Choose the function from the followings which is used to change existing file name?
A
ren()
B
re()
C
rename()
D
All
Note:
Not available
Show answer
Show Note
Report
Question:
Which of the following function parses each line of a file marked up in CSV format?
A
file()
B
fgetCSV()
C
fgetc()
D
fgetSS()
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
Next
Last
/1
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd