I want to know if Javascript has some kind of include so I can get .txt / csv or XML data from a remote location.

For example I need to import data from a LAMP site, this LAMPP can use php fwrite to generate a file within that server

on a different server I want Javascript to load (and reload) the file.