- 1 Cài đặt phần mềm cần thiết cho học lập trình web
- 2 Tự Học HTML Cơ Bản Online Miễn Phí Từ A đến Z
- 3 Seo website dành cho dân IT
- 4 REACT NATIVE
- 5 sdfdsf
- 6 Lập trình di động với React Native
- 7 Vue.js
- 8 Kiếm thức cơ bản HTML CSS
- 9 So sánh count() và sizeof() 2 phần tử đếm mảng
- 10 Toán tử và biểu thức của php

Hàm filegroup() trong PHP - PHP Function
Code $filename = 'index.php'; print_r(posix_getgrgid(filegroup($filename)));

Hàm fileinode() trong PHP - PHP Function
Code $filename = 'index.php'; if (getmyinode() == fileinode($filename)) { echo 'You are checking the current file.'; }

Hàm filemtime() trong PHP - PHP Function
Code $filename = 'test.txt'; file_put_contents($filename, 'this a test string'); echo "$filename được tạo vào lúc: " .date ("F d Y H:i:s.", time()). "<br />"; sleep(15); $handle = fopen($filename, 'r+w'); fwrite($handle, 'Zaidap.com.nettttt'); fclose($handle); if ...

Hàm fileowner() trong PHP - PHP Function
Code $filename = 'index.php'; print_r(posix_getpwuid(fileowner($filename)));

Hàm fileperms() trong PHP - PHP Function
Code echo substr(sprintf('%o', fileperms('example.txt')), -4);

Hàm filesize() trong PHP - PHP Function
Code $filename = 'test.txt'; $size = filesize($filename); echo "kích thước của file $filename là: ". $size . "byte.";

Hàm filetype() trong PHP - PHP Function
Code echo filetype('test.txt') . "<br />"; echo filetype('./images/');

Hàm fopen() trong PHP - PHP Function
Code $handle = fopen("test.txt", "r"); $handle = fopen("index.php", "wb"); $handle = fopen("https://www.google.com.vn", "r");

Hàm fpassthru() trong PHP - PHP Function
Code file_put_contents('test.txt', 'Zaidap.com.net'); $fp = fopen('test.txt','rb'); fpassthru($fp);

Hàm fwrite() trong PHP - PHP Function
Code file_put_contents('test.txt', 'Zaidap.com.net'); $fp = fopen('test.txt','r+'); echo file_get_contents('test.txt') ."<br />"; echo "số kí tự đã ghi là: " . fwrite($fp, "examples") ."<br />"; echo file_get_contents('test.txt') ."<br />";