set up url upload

They have: 1 posts

Joined: Feb 2005

anyone know how to set up url upload? help please
thanks

Greg K's picture

He has: 2,145 posts

Joined: Nov 2003

I have never done it, but the following may have information you need:

http://www.php.net/manual/en/features.file-upload.php

-Greg

CptAwesome's picture

He has: 370 posts

Joined: Dec 2004

Well, I am not sure, but I think that if you make a form input type="file" and you enter a URL, it'll take it via your cache, or the webserver will go and get the file based on the URL. If you don't want to give the option to upload from harddrive, then simply use an input type="text" then use a php (or whatever) function like file() or fopen() to get the file contents, and write them to a new file in whatever directory you want them written to.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.