mac007 Posted November 29, 2008 Share Posted November 29, 2008 Hello, all: I have a general question on uploading large file uploads, sepcially when it comes to doing "movie" files... I believe the largest "upload-limit" imposed by servers is 16 megs? so if I need to upload larger movie files I would need to do it thru a direct-FTP-script that would allow me to do this? Also, since I am at it... how can I "extract" a poster image of any of these movie uploads so it just shows a "frame" of it, like one sees per example on youtube? it just shows a still frame that you then click and takes you to the actual movie page where it plays...?? Thanks for your feedback! Link to comment https://forums.phpfreaks.com/topic/134776-upload-size-limit-in-php-is-16-megs-so-if-i-need-larger-i-need-to-do-thru-ftp/ Share on other sites More sharing options...
Mark Baker Posted November 29, 2008 Share Posted November 29, 2008 Hello, all: I have a general question on uploading large file uploads, sepcially when it comes to doing "movie" files... I believe the largest "upload-limit" imposed by servers is 16 megs? If you have access to php.ini you can change this Link to comment https://forums.phpfreaks.com/topic/134776-upload-size-limit-in-php-is-16-megs-so-if-i-need-larger-i-need-to-do-thru-ftp/#findComment-701861 Share on other sites More sharing options...
mac007 Posted November 29, 2008 Author Share Posted November 29, 2008 Hi, Mark: yeah, I know you can modify the upload limits with htaccess command, but I thought the limit regardless was 16 megs tops... Link to comment https://forums.phpfreaks.com/topic/134776-upload-size-limit-in-php-is-16-megs-so-if-i-need-larger-i-need-to-do-thru-ftp/#findComment-701900 Share on other sites More sharing options...
Mark Baker Posted November 29, 2008 Share Posted November 29, 2008 I don't use .htaccess for this at all: I wouldn't even know how to set an upper filesize limit in .htaccess. There's two settings in php.ini that I have changed: post_max_size = 256M upload_max_filesize = 256M Link to comment https://forums.phpfreaks.com/topic/134776-upload-size-limit-in-php-is-16-megs-so-if-i-need-larger-i-need-to-do-thru-ftp/#findComment-701909 Share on other sites More sharing options...
Shilo Posted November 29, 2008 Share Posted November 29, 2008 I don't use .htaccess for this at all: I wouldn't even know how to set an upper filesize limit in .htaccess. There's two settings in php.ini that I have changed: post_max_size = 256M upload_max_filesize = 256M and if for some reason you dont have access to the .ini file on your server you can use: <?php ini_set('post_max_size', '256MB'); ini_set('upload_max_filesize', '256MB'); ?> Link to comment https://forums.phpfreaks.com/topic/134776-upload-size-limit-in-php-is-16-megs-so-if-i-need-larger-i-need-to-do-thru-ftp/#findComment-701924 Share on other sites More sharing options...
PFMaBiSmAd Posted November 29, 2008 Share Posted November 29, 2008 Those two settings are settable using ini_set() in a script because php uses the current values before the script is executed. You can only set them in the master php.ini, a .htaccess file (when php is running as an Apache module), on in a local php.ini (when php is running as a CGI application.) Link to comment https://forums.phpfreaks.com/topic/134776-upload-size-limit-in-php-is-16-megs-so-if-i-need-larger-i-need-to-do-thru-ftp/#findComment-701936 Share on other sites More sharing options...
mac007 Posted November 30, 2008 Author Share Posted November 30, 2008 thanks for all your feedback guys.. how about the whole "frame" or "poster" image from a movie? how can I have it so I can create a thumbs image of the movie? anybody know how to do this? Link to comment https://forums.phpfreaks.com/topic/134776-upload-size-limit-in-php-is-16-megs-so-if-i-need-larger-i-need-to-do-thru-ftp/#findComment-702158 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.