PHP Classes

File: example/basic_example

Recommend this page to a friend!
  Classes of nvb  >  PHP Unique Number Repository  >  example/basic_example  >  Download  
File: example/basic_example
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Unique Number Repository
Maintain repositories of unique numbers via an API
Author: By
Last change:
Date: 3 years ago
Size: 522 bytes
 

Contents

Class file image Download
#!/bin/env php <?php /** * @author stev leibelt <artodeto@bazzline.net> * @since 2015-09-12 */ $host = '0.0.0.0:8080'; $path = __DIR__ .'/../client/check-version'; $command = $path . ' "' . $host . '"'; echo date('Y-m-d H:i:s') . ': doing something before calling the command "check version"' . PHP_EOL; echo date('Y-m-d H:i:s') . ': calling the command "check version"' . PHP_EOL; passthru($command); echo date('Y-m-d H:i:s') . ': doing something after calling the command "check version"' . PHP_EOL;