Open arif98741 opened 5 years ago
<?php
$array = explode(".", file_get_contents('test.txt'));
echo "<pre>";
print_r($array);
?>
// $_SESSION['logo_first_part'] = "Dev";
// $_SESSION['logo_second_part'] = "Xpart";
// echo $_SESSION['logo_first_part'];
// $_SESSION['logo_part']
<?php
/*for($i=0; $i<5; $i++)
{
//fopen("something".$i.".txt", 'w');
if(file_exists("something".$i.".txt")){
unlink("something".$i.".txt");
}
}
$file = "I, go to, school";
$data = explode('\n', file_get_contents('something.txt'));
$data = explode(' ', $data[0]);
echo '<pre>';
print_r($data);
*/
//magic constant
//__DIR__; die;
//echo __LINE__;
// checking last accessed time of a file
//echo fileatime("something.txt");
//checking last accessed time of a file
// and formatting the output of the date
/*__LINE__
__METHOD__
__FUNCTION__
__CLASS__
__NAMESPACE__
echo
*/
//echo mkdir('storage');
define('base_url', 'http://localhost/class8/');
echo welcome;
?>
Class 8 Slide .pptx