Kam bych měl tu funkci napsat, protože když zvolím podle cesty a napíšu to do souboru post.php, tak to nefunguje.