I would like to build a webpage(simple form) where users can submit media files, most likely video files. The video files will be anywhere from 100mb – 500mb(or possibly more, depending on the file compression) I was wondering if you could recommend any hosting plan(or company) that may fit my requirement. I was thinking that I will be writing php
Tag: upload
Generate thumbnail from video using ffmpeg and add to mysql database
Im a noobie in php but still im trying 🙂 Im making bulk video uploader/importer to database. Looking ideas how to extract thumbnails from videos on upload and add those thumbnails to mysql database for each video… :/ Im trying using ffmpeg, but i dont found the way how to implement it to my code… Answer Concerning the FFMpeg part,
PHP file upload works with HTTP form but not with Python script
I’m currently achieving a python project in which I need to have a text file uploaded through HTTP to my server. At first I was using for convenience an HTTP form and the upload has been working fine. But now, I want it so I don’t have to manually select the file and just have my Python script sending the
Laravel 8 file upload validation fails with any rule
I want to validate a file upload but with literally any validation rule, I get “The (name of input) failed to upload.” I’ve seen this issue in a few places but none of the solutions worked for me. I’m using Laravel 8.0, php 8.0.2, and nginx/1.18.0 on ubuntu. Controller: Blade file: If I get rid of the validation rule for
How can get the name of a image stored in /storage/public if was dynamic name
My problem is that i upload a image on the website in laravel but the database save the path of my local storage with a strange name and extension: The picture was uploaded fine in Storage/app/public but with another name (Like a hash code): Now, how can get this name in /Storage/Public with a query on a database, or how
multiple dropzone upload on 1 single line mysql
I’m trying to upload multiple files at the same time and insert the file paths on 1 single mysql line per upload, but this adds one line per file. Looks to me like my js dropzone setup is good but it doesn’t work on a single line but it adds one line per file in the database Thank you for
How to increase the performance of a file upload using native sftp functions and fwrite in PHP
Hi I am using the following code to upload a huge file (500MB) to a sftp server. host, $this->port, null); $sftp = ssh2_sftp($connection); $…
PHP, Image preview with javascript and uploader by PHP
I made PHP script to preview an image before upload it, which is simple and easy to read. the first part is to displays the image then to upload it after pressing Submit button. I have an issue with uploading the image, it doesn’t upload. Answer You have several logical errors in your PHP Code as well as HTML. When
sql error while trying to store the image to database(UPDATED)
UPDATED: As suggested in comment section I have updated my code and using PDO now. I still have the same error. I am trying to store multiple images to the database (phpmyadmin). When I try to upload it gives an error Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘file.png’ in ‘field list’ My database: I have an database named
ffmpeg real-time encoding while file uploading by chunks
Now the process is: File upload Encode file with ffmpeg when file has been uploaded Can be done at the same time?, obviusly yes, but I don’t know how. The file upload process is by 8MB chunks stored in server, then, temporary I have videofile.ext.tmp that is growing up to final uploaded file. I read about ffmpeg -stream_loop or -loop