Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 2nd, 2004, 05:14 PM
Authorized User
Join Date: Jun 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default uploading audio and video files

There is a problem with uploading .mov, .avi and .mp3 files.
I was able to upload different files with code from

In order to upload different file extensions, I changed line

if (($_FILES['userfile']['size'] <= 10000) && ($_FILES['userfile']['type'] == 'image/jpeg')

to if ($_FILES['userfile']['size'] <= 10000)

Now I can upload doc, txt, zip, jpeg, pdf, mid.
But files .mov, avi and mp3 gives an error "'Upload failed: There was likely a permissions error."
How can I solve that? I have Windows 2000 on FAT32 file system (so, no filesystem permissions). And IIS-controlled permissions for the directory are read/write/exec scripts only.

Could you please help to solve upload video/audio files problem?
Thank you,

Similar Threads
Thread Thread Starter Forum Replies Last Post
Uploading video files on to my site palvin Classic ASP Components 1 September 29th, 2011 06:39 AM
Audio+video sasha hantz Classic ASP Professional 1 October 12th, 2007 07:23 AM
Problem uploading multiple (audio-video) files suchi Pro JSP 0 May 8th, 2006 02:03 PM
Uploading video files on to my site palvin Classic ASP Professional 0 March 1st, 2006 11:13 AM
import video with audio harpua Flash (all versions) 1 February 18th, 2004 12:22 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.