VO2max Calculator 🏃Running
2015-11-23

Running,Visualize,EN

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 Cooper Institute.


Simple FTP upload with PHP
2015-06-19

PHP,FTP,Snippets,EN

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 file 
    sp […]

Diese Website verwendet Cookies, um Ihnen den bestmöglichen Service zu gewährleisten. Weiterführende Informationen finden Sie in unserer Datenschutzerklärung. Klicken Sie in die nachfolgende Checkbox um Cookies zu akzeptieren. Bestätigen Sie anschließend durch Klick auf "Speichern".