Google Photo URL Generator

[insert_php]
$URL=$_POST[“URL”];

echo’

Input URL:


‘;

if (!empty($URL)) {
$URL=str_replace(“/view?usp=sharing”, “”, $URL);
$URL=str_replace(“/view?usp=docslist_api”, “”, $URL);
$URL=str_replace(“file/d/”, “uc?id=”, $URL);

// echo ‘
//‘;

// another version
//echo ‘
//
//’.$URL.’
//

//
// ‘;

echo ‘‘;

echo “

“;
}
[/insert_php]