PHP – SOAP sample
PHP simple SOAP sample SOAP server file (soapserver.php): <?php // Set a function in SOAP server file function hello($someone) { return “Hello ” . $someone…
PHP simple SOAP sample SOAP server file (soapserver.php): <?php // Set a function in SOAP server file function hello($someone) { return “Hello ” . $someone…
Read all files and folders from a directory using scandir: $dir = “/temp”; $files = scandir($dir); print_r($files); Read all files and folders from a directory…
To run a script in command line: php test.php or php -f test.php To run a script in command line with parameters: php test.php param1…
To view php script execution time insert next code into your script. Insert next code at the top of the page: <?php $mtime = microtime();…