i dont speak spanish, i hope is not a problem that im writing in english
from what i've read up you want to do a local file inclusion, i think the best way to do a local file inclusion it's including you files with fopen,require,include,file_get_contents, but be carefull because fopen and file_get_contents is for lfd(local file disclosure)