Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
A sample, how to save a simple jpeg image!
<?
$fc = fopen("myimage.jpg", "wb");
// this is the LOCAL file location you will save to
$file = fopen ("[URL unfurl="true"]http://www.pic.com/image2.jpg",[/URL] "rb");
// this is the remote file location
if (!$file) {
echo "Unable to open remote file.\n";
exit;
}
else
{
while (!feof ($file)) {
$line = fread ($file, 1028);
fwrite($fc,$line);
}
}
fclose($fc);
fclose($file);
echo "ok";
?>