Potrzebuję zapisać geta do generowanego pliku i nie bardzo wiem jak to zrobić, mam taki kod:
$file_db = '<?php $login = "test"; $nazwa= "'.$_GET['nazwa'].'"; include "content.php"; ?>'; file_put_contents('test/'.str_replace('.','',$_GET['nazwa']).''.$_POST['testt'].'.php', $file_db); $handle=fopen('test/'.str_replace('.','',$_GET['nazwa']).''.$_POST['testt'].'.php', "r"); $contents=fwrite($handle, $file_db); require_once('test/'.str_replace('.','',$_GET['nazwa']).''.$_POST['testt'].'.php');
$_POST przechodzi, a $_GET nie chce, mimo że w adresie dodaję geta prawidłowo, a wyżej wyechowany również pokazuje się prawidłowo
///nieaktualne
