phpfreaksftsolitude Posted April 11, 2008 Share Posted April 11, 2008 Hi, I've run into a strange error (maybe a bug) when trying to upload a simple ".URL" file with the "move_uploaded_file" function in PHP. Instead of just uploading the file, like "homepage.url" for example, it attempts to save the contents from that website to my directory! Any other filetype uploads just fine. It's as if it is using the .url file as a pointer to another location instead of just treating it as a file itself. Any help or workarounds would be greatly appreciated! Thanks in advance. Eric Link to comment https://forums.phpfreaks.com/topic/100693-cannot-upload-url-file-with-php-form/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.