Give the syntax for fpassthru( ) function
fpassthru(filepointer);
fpassthru()
fpassthru(path);
SHOW ANSWERGive the correct Syntax for fread( )
fread(filepointer,filesize(file));
fread(filepointer);
fread(filesize(file));
SHOW ANSWERName the function in php to write to a file
fwrite( )
write( )
file_write()
SHOW ANSWERWhich attribute in the form tag is used for uploading a file in php ?
enctype
src
type
SHOW ANSWERThe value given for enctype attribute of the form tag is _________
multipart/form-data
encrypted
form
SHOW ANSWERWhich function is used to upload a file ?
move_uploaded_file( )
upload_file()
file_upload( )
SHOW ANSWERWhich function is used to write to a file other than fwrite( ) ?
fputs( )
write( )
puts( )
SHOW ANSWERGive the syntax for fputs( ) function
fputs(file pointer,variable);
write(file pointer);
puts(file pointer,variable);
SHOW ANSWERWhich function is used to return the size of a file in php ?
filesize( )
size_of_file( )
fsize( )
SHOW ANSWERWhich function is used to copy file to a destined folder in php ?
copy( )
fcopy( )
copy_file( )
SHOW ANSWERWhich function returns the directory portion of a stated path ?
dirname( )
directory_name( )
name_dir( )
SHOW ANSWERFunction used to rename a file in php ?
rename( )
frename( )
file_rename( )
SHOW ANSWERWhich function that returns file permission level ?
fileperms( )
fperm( )
file_permission( )
SHOW ANSWER