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 35

Give the syntax to remove an empty directory

rmdir(directory);

 removedir(directory); 

 dirrem(directory);

SHOW ANSWER

Give the syntax for file permission function

fileperms(file);

 fperm(file); 

 permission_file(file);

SHOW ANSWER

Give the syntax for chmod( )

chmod(file,mode); 

 chmod(file); 

 chmod(mode);

SHOW ANSWER

Which is the syntax for checking a file readable or not ?

is_readable(file); 

 read(file,mode); 

is readable(file,mode);

SHOW ANSWER

Give the syntax for the end of file function

feof(file pointer); 

 eof( ); 

eof(file pointer);

SHOW ANSWER

What is the syntax for opening a process file pointer ?

popen( command,mode); 

open(command,mode); 

fopen(command,mode); 

SHOW ANSWER

Which function checks the existence of a link in php ?

linkinfo( )

 info( )

 stat( )

SHOW ANSWER

Give the syntax of the function to check the existence of a link

linkinfo(path);

 info(link); 

 stat( link);

SHOW ANSWER

Give the syntax for the function that shows the freespace in a directory

 disk_free_space(“/dir”);

free_space(“/dir”); 

 disk_space(“/dir”);

SHOW ANSWER

What is the syntax for the function that indicates the last time of access of a file?

fileatime(file); 

 fileattime(file); 

 filetime(file);

SHOW ANSWER

Give the syntax for readlink( ) function

readlink(link) ; 

 readlink( ); 

 readlink(command);

SHOW ANSWER

Give the syntax for copy function in php

copy( source,destination); 

 fcopy(source,destination); 

copy_file(source,destination );

SHOW ANSWER

Which function in php checks if a file is executable

 is_executable( )

 file_executable( ) 

 executable( )

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