betterphp does not currently provide support for this item.

38 comments found.

New issue: Everything was working fine but now the files are not uploading properly….every file is showing up corrupt when I try to download anything.

9fbc63de547160e5439749364c09edf9 is an example of a file in the downloaded files folder. WHAT IS GOING ON ?! I cant have corrupt files and your script is causing a huge mishap.

Once a file is uploaded, when i try to download the file it says it is corrupt. It appears that in the database it cant detect the file type once uploaded.

Try changing

ini_set('display_errors', 'Off');


ini_set('display_errors', 'On');


And see if php will tell you why it can’t get the mime type when you upload a file.

Can I assume you fixed it ?

Can file uploads be as large as I wish? According to my php.ini?

file_uploads = On upload_max_filesize = 10M

Are there any other timeouts to worry about when uploading files that are more than a couple hundred MB?


There is no limit by this item.

as for timeouts, as far as I know there will be no problems, there is a setting in php.ini for post_max_time or something like that which is described in the file as if it would cause a timeout, but it is actually the amount of time php will be allowed to spend processing data once it has all been collected by the server.

Hi, can we upload videos from url, form flv url videos for example.

flv url



you cant upload a file from a URL , but you should be able to host the flash video to use in your player if that’s what you mean ?

Yes we just need to skip download video upload to server and play on website. just upload from url to server and play on the website

I have two issues

1) Whenever I add a user all permissions are set to no. I can’t seem to change them. I can check the boxes and submit the changes, but nothing happens afterwards.

2) Where can I change the max upload size? It defaults to 8, but I need something more like 25-30MB.

Otherwise, great script! Thank you!!!

1) If you comment out lines 3 and 4 of system/init/ do you see any errors when trying to change the settings ? It is most likely that the database is not set up correctly in some way so I would check that too.

2) The maximum upload size is determined based on your php.ini settings.

Thank you for responding. I am OK with the upload size now. When I setup the database I followed the instructions to the letter, and I even consulted with my webhost’s support dept. before installing. I would not mind giving you my log in info if you could log in and see if I screwed up somewhere.

Also I was thinking of echoing a file’s url inside of a anchor link this way the user could download by clicking the link. What page/file should I edit? Sorry if this seems stupid… I can’t seem to find it.

It could be a compatibility thing that I need to fix. If you could email me with the database details I’d be happy to take a look :)

Did you receive my email? I submitted through this site. Should I send elsewhere?

Could you resend it ? My email server was recently flooded with so much spam I lost a few legitimate messages.

I have purchased this item. Thank you for the helpful tool! Can you consider adding folder’s for the “Manage Files” section in future releases? I have many files and would like to be able to organize them into folders via the visual interface. AJAX would be a great way to go about it :)

Thank you!

Folder seems like a good idea.

I will be doing a bit of modernizing on all of my items soon so I will look into it then :)

Hi there..

How about Some nice advert placements..?? And a 15 second timed ad-page before file is link is seen .. etc..

Could you customize this for me??

Kind regards


Not something I had thought about actually. That is not really my intended use for this, saying that some work on this is on my todo list so I will make a note of that for when I get to it.

Hi betterphp,

I am having a bit of an issue when I change the initial password for the admin. After changing it, the interface says “You do not have permission to access this page.” so I then logged out and logged back in with the new admin credentials. I still get the “You do not have permission to access this page.” when trying to access any of the pages other than “index”. I’ve tried it in Chrome, Opera & Firefox. They all have the same issue. Any ideas what might be going on here?

Apparently a php version change caused this somehow, I need to update the item which I will do today. Thanks for letting em know.

when i change the password all the permissions become blocked. i restored the db several times and the problem repeats.

i tried adding a new master user with all permissions and no matter how many times i update permissions they are still set to “no”.

any thoughts?

Apparently a php version change caused this somehow, I need to update the item which I will do today. Thanks for letting em know.

file upload does not work in chrome

It did when I made it :S I guess Chrome has changed quite a bit since then. I’ll look into that too.

where uploaded images are saved?

In the files folder the same as everything else.

I am having a slight issue with server install, I want to use it locally, and I have apache, mysql, I have followed all the instructions to the letter, however, when I attempt to load, I get this -

Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.

Error 500 01/25/13 11:45:57 Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4

Can anyone help with this?

If you check the servers error.log file it should explain what caused the error 500..

Hi! I’m interested in purchasing this. How complicated do you think it would be for me to integrate additional functionality through PHP to have a few more columns of sql info for each file and a have form for the user to be able to edit those columns from within the page?

For example:

File Name | Expires | Date | Downloads | Job # | Approval Date | Edit Data

Hydrangeas.jpg | Never | 10:19:46 29/01/2013 | 9 | 987-987 | 02/14/2013 | Edit

(clicking on the word edit would bring up a form with a few input fields to change the data)

That would be quite a awkward thing to add the way it is currently. I like the idea though ! If you know php it should not be too hard to do.

Hey thanks for responding! Yeah I’m solid with PHP, and after looking more into “Advanced File Server” I have to agree it would be awkward. Since I was asked to turn this around in a very short time period (just a few billable hours) as an internal app for my company I had no interest in starting from scratch.

I ended up first buying “BitDrop” because it looked closer to what I was looking for, but once I got into the code I realized that the deep integration of short URL’s and other nice security features was going to be an issue. So rather than rewrite that, I came back to codecanyon again and grabbed “Advanced File Management”, which actually ended up being pretty much the closest code to what I needed.

It still took me the better part of a day to build out the functionality I needed in order to use the app as a straight log of creative with all those extra database values and whatnot, but still much faster than building from scratch.


I noticed about a year ago someone asked if you were going give the ability to add folders. Did that ever happen? I am very interested in this product but I will be using it so much that folders are going to be essential.

Thank you so much!

EDIT: And I’m posting in the wrong forum, sorry.

Uploaded, but browse button does nothing. Have turned on error logging.. nothing. What am I missing?

we need some improvement and update this script

Followed instructions. Does not seem to be loading css file. Seems to be pointed correctly. Not sure if this was moved.