Suche senden
Hochladen
Files. Php.
•
0 gefällt mir
•
1,159 views
A
Alexey Bovanenko
Folgen
Bildung
Technologie
Melden
Teilen
Melden
Teilen
1 von 13
Jetzt herunterladen
Downloaden Sie, um offline zu lesen
Empfohlen
Osol bzy
Osol bzy
Elquran Hayaty
Beemar abid.sindhi
Beemar abid.sindhi
Ilyas Qadri Ziaee
Javascript functions
Javascript functions
Alexey Bovanenko
Sloan C 2009 Feedback Ingram Bateman
Sloan C 2009 Feedback Ingram Bateman
aingram
Port Commission Meetings: TV or Not TV?
Port Commission Meetings: TV or Not TV?
rkoon
Javascript String object
Javascript String object
Alexey Bovanenko
Choosing Collaborative Systems Ingram Parker
Choosing Collaborative Systems Ingram Parker
aingram
The 5 Coolest Muppets Of All
The 5 Coolest Muppets Of All
schmim90
Empfohlen
Osol bzy
Osol bzy
Elquran Hayaty
Beemar abid.sindhi
Beemar abid.sindhi
Ilyas Qadri Ziaee
Javascript functions
Javascript functions
Alexey Bovanenko
Sloan C 2009 Feedback Ingram Bateman
Sloan C 2009 Feedback Ingram Bateman
aingram
Port Commission Meetings: TV or Not TV?
Port Commission Meetings: TV or Not TV?
rkoon
Javascript String object
Javascript String object
Alexey Bovanenko
Choosing Collaborative Systems Ingram Parker
Choosing Collaborative Systems Ingram Parker
aingram
The 5 Coolest Muppets Of All
The 5 Coolest Muppets Of All
schmim90
Python sqlite3
Python sqlite3
Alexey Bovanenko
Python. re
Python. re
Alexey Bovanenko
python dict
python dict
Alexey Bovanenko
Python. Строки
Python. Строки
Alexey Bovanenko
Python. Введение
Python. Введение
Alexey Bovanenko
Nio java
Nio java
Alexey Bovanenko
Конвертация строковых данных в числовые
Конвертация строковых данных в числовые
Alexey Bovanenko
Assert c
Assert c
Alexey Bovanenko
Обработка символов в языке C
Обработка символов в языке C
Alexey Bovanenko
System c
System c
Alexey Bovanenko
File. Java
File. Java
Alexey Bovanenko
ZIP, GZIP Streams in java
ZIP, GZIP Streams in java
Alexey Bovanenko
Конструктор копирования
Конструктор копирования
Alexey Bovanenko
Tempale Intro
Tempale Intro
Alexey Bovanenko
transaction. php
transaction. php
Alexey Bovanenko
cookie. support by php
cookie. support by php
Alexey Bovanenko
php sessions
php sessions
Alexey Bovanenko
Java IO. Streams
Java IO. Streams
Alexey Bovanenko
Regular Expressions
Regular Expressions
Alexey Bovanenko
Classes: Number, String, StringBuffer, StringBuilder
Classes: Number, String, StringBuffer, StringBuilder
Alexey Bovanenko
Weitere ähnliche Inhalte
Mehr von Alexey Bovanenko
Python sqlite3
Python sqlite3
Alexey Bovanenko
Python. re
Python. re
Alexey Bovanenko
python dict
python dict
Alexey Bovanenko
Python. Строки
Python. Строки
Alexey Bovanenko
Python. Введение
Python. Введение
Alexey Bovanenko
Nio java
Nio java
Alexey Bovanenko
Конвертация строковых данных в числовые
Конвертация строковых данных в числовые
Alexey Bovanenko
Assert c
Assert c
Alexey Bovanenko
Обработка символов в языке C
Обработка символов в языке C
Alexey Bovanenko
System c
System c
Alexey Bovanenko
File. Java
File. Java
Alexey Bovanenko
ZIP, GZIP Streams in java
ZIP, GZIP Streams in java
Alexey Bovanenko
Конструктор копирования
Конструктор копирования
Alexey Bovanenko
Tempale Intro
Tempale Intro
Alexey Bovanenko
transaction. php
transaction. php
Alexey Bovanenko
cookie. support by php
cookie. support by php
Alexey Bovanenko
php sessions
php sessions
Alexey Bovanenko
Java IO. Streams
Java IO. Streams
Alexey Bovanenko
Regular Expressions
Regular Expressions
Alexey Bovanenko
Classes: Number, String, StringBuffer, StringBuilder
Classes: Number, String, StringBuffer, StringBuilder
Alexey Bovanenko
Mehr von Alexey Bovanenko
(20)
Python sqlite3
Python sqlite3
Python. re
Python. re
python dict
python dict
Python. Строки
Python. Строки
Python. Введение
Python. Введение
Nio java
Nio java
Конвертация строковых данных в числовые
Конвертация строковых данных в числовые
Assert c
Assert c
Обработка символов в языке C
Обработка символов в языке C
System c
System c
File. Java
File. Java
ZIP, GZIP Streams in java
ZIP, GZIP Streams in java
Конструктор копирования
Конструктор копирования
Tempale Intro
Tempale Intro
transaction. php
transaction. php
cookie. support by php
cookie. support by php
php sessions
php sessions
Java IO. Streams
Java IO. Streams
Regular Expressions
Regular Expressions
Classes: Number, String, StringBuffer, StringBuilder
Classes: Number, String, StringBuffer, StringBuilder
Files. Php.
1.
Работа с файлами
Язык PHP Алексей Бованенко 3 мая 2009 г.
2.
Чтение всех строк
из файла file • array ( string $filename [, int $flags= 0 [, resource $context ]] ) • FILE_USE_INCLUDE_PATH • FILE_IGNORE_NEW_LINES • FILE_SKIP_EMPTY_LINES • FILE_TEXT • FILE_BINARY 3 мая 2009 г.
3.
Открытие файла
• resource fopen ( string $filename , string $mode [, bool $use_include_path= false [, resource $context ]] ) • r/r+ - чтение / чтение - запись • w/w+ - запись / запись чтение • a/a+ - добавление / добавление - чтение • x/x+ - создание - запись / создание - чтение - запись 3 мая 2009 г.
4.
Закрытие файла
• bool fclose ( resource $handle ) 3 мая 2009 г.
5.
Чтение данных
• string fgets ( resource $handle [, int $length ] ) • string fread ( resource $handle , int $length ) 3 мая 2009 г.
6.
Запись данных
• int fwrite ( resource $handle , string $string [, int $length ] ) 3 мая 2009 г.
7.
Чтение всего файла
• string file_get_contents ( string $filename [, int $flags= 0 [, resource $context [, int $offset= -1 [, int $maxlen= -1 ]]]] ) • FILE_USE_INCLUDE_PATH • FILE_TEXT • FILE_BINARY 3 мая 2009 г.
8.
Запись всего файла
• int file_put_contents ( string $filename , mixed $data [, int $flags= 0 [, resource $context ]] ) 3 мая 2009 г.
9.
Копирование и перенос
• bool copy ( string $source , string $dest [, resource $context ] ) • bool move_uploaded_file ( string $filename , string $destination ) 3 мая 2009 г.
10.
Проверка файла
• bool is_uploaded_file ( string $filename ) • bool file_exists ( string $filename ) • bool is_file ( string $filename ) • bool is_dir ( string $filename ) 3 мая 2009 г.
11.
Работа с директориями
• bool mkdir ( string $pathname [, int $mode= 0777 [, bool $recursive= false [, resource $context ]]] ) • bool rmdir ( string $dirname [, resource $context ] ) 3 мая 2009 г.
12.
Удаление
• bool unlink ( string $filename [, resource $context ] ) • bool rmdir ( string $dirname [, resource $context ] ) 3 мая 2009 г.
13.
Конец
Спасибо за внимание e-mail: a.bovanenko@gmail.com 3 мая 2009 г.
Jetzt herunterladen