- str_replace: documentation ( source)
- strrpos: documentation ( source)
<?php
$text1 = 'Xgac1s/8I8PBmzGTJStXOL1xE8cqaFKzpbxxZ nx5rOvFrfxSNBnP5i7bubOckNB';
while(strrpos(text1, ' ')) {
$file = str_replace(' ', '+', $file);
}
$adrs = openssl_decrypt($text1, 'aes-128-ecb', 'chmlloo2015');
while(strrpos($adrs, '//')) {
$adrs = str_replace('//', '/', $adrs);
}
echo $adrs
?>