PHP code example of tomk79 / request

1. Go to this page and download the library: Download tomk79/request library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tomk79 / request example snippets



= new tomk79\request();


= new tomk79\request(array(
  'session_name' => 'SESSID',
  'session_expire' => (24 * 60 * 60),
  'directory_index_primary' => 'index.html',
  'cookie_default_path' => '/',
  'cookie_default_expire' => (7 * 24 * 60 * 60),
));