Location: PHPKode > projects > PhpCodeGenie > phpCodeGenie3.0.2/web/tools/languageFileBuilder/saveLanguageFileForUser.php
<?

$encodedLanguageFile = $_POST['encodedLanguageFile'];
$languageName = $_POST['languageName'];
$languageFileText = base64_decode($encodedLanguageFile);

$fileNameToSave = $languageName.date("Y-m-d").".inc.php";


header("Content-Type: text/plain");
header("Content-Disposition: attachment; filename=$fileNameToSave");


echo $languageFileText;

?>
Return current item: PhpCodeGenie