Call
whatsapp
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
9447387064 | 9847003556
0471-2335855 | 8089080088 | 0471-2334855
Cisco Training in Trivandrum, Trinity Technologies

No.1 Training Institute in Kerala

PHP QUESTIONS : PART 36

______ function shows the last access time of a file ?

fileatime( )

 filetime( )

 fileaccess( )

SHOW ANSWER

What is the syntax of the function that writes to a file in php ?

fwrite(“file pointer” ,”variable”); 

 write(“file pointer”); 

file_write(“filepointer”);

SHOW ANSWER

Give the syntax for the function to create directory

mkdir(“directory path” ); 

 create_directory(“directory path”); 

create_dir(“directory path”);

SHOW ANSWER

An example for a function to create a directory

mkdir(‘C:\wamp\www\Test’); 

create_directory(‘C:\wamp\www\Test’); 

create_dir(“directory path”);

SHOW ANSWER

Which function returns the filename portion of a stated path ?

basename( ) 

 base() 

 fbase() 

SHOW ANSWER

Which function mentions the free space in a directory ?

disk_free_space( ) 

freedisk( )

 free_space_dir( )

SHOW ANSWER

Which function that resets file pointer to the beginning of the file stream ?

rewind( ) 

reset () 

 freset( )

SHOW ANSWER

Which function closes the file opened by the process file pointer ?

pclose( )

 close( )

fclose( )

SHOW ANSWER

Function in php that is used to remove an empty directory is _______

rmdir( ) 

removedir( )

 remdir( )

SHOW ANSWER

Which function opens a process file pointer ?

popen( ) 

fpopen() 

 open( )

SHOW ANSWER

The small piece of information stored by client side is known as

Cookie 

 Session

Querystring

SHOW ANSWER

The small piece of information stored by server side is known as:

 Session 

Cookie

 Querystring

SHOW ANSWER

Whichis basically a temporary set of variables that exists only until the browser has shut down?

Session 

 Cookie 

Querystring

SHOW ANSWER
BACK | NEXT
TRINITY SOFTWARE SOLUTIONS,IInd floor, Radheyam Towers, Gandhari Amman Kovil Road, Pulimood, Trivandrum - 1
0471-2334855 | 2335855 | 9447387064 | 9847003556 info@trinitytechnology.in