VO2max Calculator 🏃Running
2015-11-23
VO2max Calculator calculates the maximum oxygen uptake based on pace, training heart rate, resting heart rate and maximum heart rate. This tool is based on the VO2 scores formula of Alan Couzens and weights against standard evaluations for VO2max from the Coop […]
Simple FTP upload with PHP
2015-06-19
How to to upload a file to a FTP Server using PHP. There are several ways to accomplish this.
Using file_put_contents()
command.
// FTP access data
$sUser = 'developer';
$sPassword = 'secret';
$sHost = 'ftp.example.com';
// file informations
$sFilename = 'file.txt';
$sContent = 'Example Content. DateTime: ' . date('Y-m-d H:i:s');
// save the file
$bSuccess = (boolean) file_put_contents(
// target FTP fi […]