Files Flashcards

(62 cards)

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
copy()
copy a file
26
disk_free_space()
return avaliable space in disk of dir
27
disk_total_space()
return total size of disk or dir
28
file_exists()
check if file or dir exists
29
file_get_contents()
get content file into string
30
file_put_contents()
put content string into a file
31
file()
get content file into array
32
filesize()
get file size
33
rename()
rename a file or a dir
34
stat()
give information about a file
35
tempnam()
create file with unique file name
36
fnmatch()
match filenames
37
glob()
find pathnames matching a pattern
38
link()
create a hard link
39
symlink()
create a symbolic link
40
linkinfo()
get information about a link
41
readlink()
return target of a symbolic link
42
realpath()
return absolute real path of link
43
move_upload_file()
move an uploaded file to a new location
44
parse_ini_file()
parse a .ini file
45
pathinfo()
return info about file path
46
readfile()
outputs a file
47
touch()
uptime file
48
umask()
change the current umask
49
unlink()
delete a file
50
fileatime()
get last access
51
fiflemtime()
get last modified
52
filegroup()
get group
53
fileinode()
get inode
54
fileowner()
get owner
55
fileperms()
get permission
56
filetype()
get type
57
is_file()
check if is a regular file
58
is_executable()
if is an executable flie
59
if_link()
check if is a link
60
is_readable()
check if is readable
61
is_uploaded_file()
check if is uploaded
62
is_writable()
check if is writable