Curl is a library for getting files from ftp, gopher, http server.
php (recursive acronym for php: hypertext preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into html.