johnkhan 0 Newbie Poster

Hey Guys,

I'm hoping to have a form where someone can enter a url to download a file only my net connection has access to, then it will use php/wget/curl to download that file and save it on the webserver.

E.g, they enter www.blah.com/pic.jpg and it will download and save to /home/www/pics/pic.jpg.

Can someone possibly help me code this as I'm a complete noob. So far I've got one form that gets their information they are after, which then loads up a second page which is meant to download the file but not working very well.

Help Please

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.