Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 2nd, 2004, 05:14 PM
Authorized User
Join Date: Jun 2004
Location: , , .
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,

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 08:22 AM.

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