Files Flashcards

1
Q

require()

A

include php script file (error_fatal)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

include()

A

include php script file (warning)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

require_once()

A

include php scipt file wihout including again

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

include_once()

A

include php scipt file wihout including again

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

set_include_path()

A

set the include_path configuration option

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

get_include_path()

A

return include path

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

restore_include_path()

A

set default include path

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

get_included_files()

A

return all files included

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

chdir()

A

change current directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

chroot()

A

change current root directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

dir()

A

return an instance of the Directory class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

opendir()

A

open a directory handle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

getcwd()

A

get current work directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

readdir()

A

read entry directory handle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

rewinddir()

A

rewind directory handle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

scandir()

A

list files and directories inside the specified path

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

dirname()

A

return dir path of a file path string

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

is_dir()

A

check if a file is a directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

mkdir()

A

create dir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

rmdir()

A

remove empty dir

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

basename()

A

return filename of a path filename

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

chgrp()

A

change file group

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

chmod()

A

change file mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

chown()

A

change file owner

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

copy()

A

copy a file

26
Q

disk_free_space()

A

return avaliable space in disk of dir

27
Q

disk_total_space()

A

return total size of disk or dir

28
Q

file_exists()

A

check if file or dir exists

29
Q

file_get_contents()

A

get content file into string

30
Q

file_put_contents()

A

put content string into a file

31
Q

file()

A

get content file into array

32
Q

filesize()

A

get file size

33
Q

rename()

A

rename a file or a dir

34
Q

stat()

A

give information about a file

35
Q

tempnam()

A

create file with unique file name

36
Q

fnmatch()

A

match filenames

37
Q

glob()

A

find pathnames matching a pattern

38
Q

link()

A

create a hard link

39
Q

symlink()

A

create a symbolic link

40
Q

linkinfo()

A

get information about a link

41
Q

readlink()

A

return target of a symbolic link

42
Q

realpath()

A

return absolute real path of link

43
Q

move_upload_file()

A

move an uploaded file to a new location

44
Q

parse_ini_file()

A

parse a .ini file

45
Q

pathinfo()

A

return info about file path

46
Q

readfile()

A

outputs a file

47
Q

touch()

A

uptime file

48
Q

umask()

A

change the current umask

49
Q

unlink()

A

delete a file

50
Q

fileatime()

A

get last access

51
Q

fiflemtime()

A

get last modified

52
Q

filegroup()

A

get group

53
Q

fileinode()

A

get inode

54
Q

fileowner()

A

get owner

55
Q

fileperms()

A

get permission

56
Q

filetype()

A

get type

57
Q

is_file()

A

check if is a regular file

58
Q

is_executable()

A

if is an executable flie

59
Q

if_link()

A

check if is a link

60
Q

is_readable()

A

check if is readable

61
Q

is_uploaded_file()

A

check if is uploaded

62
Q

is_writable()

A

check if is writable