PHP File Open/Read/Close
$myfile= fopen("welcom.txt","w");
echo fwrite($myfile, filesize("welcom.txt"));
fclose($myfile);require_once "php2/include.php";
echo $varriable;<?php
$myfile = fopen ("webdictionary.txt" , "r") or die ("Unable to open file!");
echo fread ("$myfile", filesize ("webdictionary.txt"));
fclose ($myfile);
Also in PHP:
- create random_str laravel
- check to see in string contains a specifc word php
- does php reverse array function
- create migration table in php
- datetime mysql php
- data.php
- check if table exists sql php
- database seeding
- automatic years php
- array get only the value without duplicate
- debugbar:clear in laravel
- dd laravel query
- datetformat php
- add days to date in php
- check if string matches php
- curl error (code 3) url malformed laravel
- date"h" php format
- "Fatal error: Allowed memory size of 1610612736 bytes exhausted " +laravel
- Class 'App\Http\Controllers\View' not found
- Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0". You are running 7.2.33.
- create project larave
- browser console print php variable
- difference entre deux date php
- date with current time in php