DevXpart-Learning-Zone / DXLZ-02-01

Happy to start the course with you all. Hope that this will be a great platform for everybody to learn. This repository will give A-Z resources of every class and also resources.
5 stars 0 forks source link

Class 8 Topics & Discussion #8

Open arif98741 opened 5 years ago

arif98741 commented 5 years ago

Class 8 Slide .pptx

Ariful1073diu commented 5 years ago

image

arif98741 commented 5 years ago

https://www.lipsum.com/

arif98741 commented 5 years ago
<?php 

    $array = explode(".", file_get_contents('test.txt'));
    echo "<pre>";
    print_r($array);

?>
arif98741 commented 5 years ago
 // $_SESSION['logo_first_part'] = "Dev";
        // $_SESSION['logo_second_part'] = "Xpart";

        // echo  $_SESSION['logo_first_part'];
        //  $_SESSION['logo_part']
arif98741 commented 5 years ago
<?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;

?>