Se non te la mette nella cartella dinamica probabilmente la variabile $aname è vuota.
Regole del Forum