I am using ffmpeg to get the image from several video files. I got my ffmpeg codes ready but I got the following error when I exec my codes. I only show the error messages that have color highlighted. My code: It seems my Linux wants to me to switch to avconv. I am not sure how to fix these
Tag: php
PDO connect to .accdb on network
I have an access database which I would like to CRUD with PDO. When My database is stored on C:\wamp\www\test.accdb I can connect. However, the database I am interested in is stored on our office server, at \server1abc123test.accdb . server1 is mapped to drive z: on my computer. My code looks like this (verba…
PHP cURL error 58
Need some help understanding the ubiquitous cURL 58 error, which is due to, in this case, including a PEM file with the cURL request. My code can successfully open the .pem file (see fopen() call) but cURL complains that it cannot set the private key file. Trying to better understand if this something on the …
Converting KML to GeoJson
I’m having huge issues doing this so once again i come for help. I have this massive file which contains all the DMA’s for Nielson what i need to do with php somehow is parse through each and get the data from and the coordinates but they have to be outputted in this format anyone have any idea ho…
How to get and change URL variable PHP
Hi could anyone help me with this I have a URL like parent/child/a=1&b=2$c=3 then I have a link that would add variable to that URL
Message: cache_dir must be a directory
Hello people I have some problems with Zend Framework. I first got the following message: Message: Could not determine temp directory, please specify a cache_dir manually. I searched google and found this post: Zend Framework : Could not determine temp directory, please specify a cache_dir manually I read it …
Export CSV for Excel
I’m writing a CSV file in PHP using fputcsv($file, $data). It all works, however I can’t just open it in Excel but have to import it and specify the encoding and which delimiter to use (in a wizard). …
Why don’t large files download easily in Laravel?
My file (126 MB size, .exe) is giving me issues. I’m using the standard laravel download method. I tried increasing the memory but it still either says I have run out of memory, or I download a 0 KB size file. The documentation doesn’t mention anything about large file sizes. My code is Anything I…
What is better to use: in_array or array_unique?
I am in doubt what to use: foreach(){ // ….. if(!in_array($view, $this->_views[$condition])) array_push($this->_views[$condition], $view); // …. } OR foreach(){ /…
Is there any way to detect if a database table exists with Laravel
I want to be able to create a table using But before that I would like to check if the table already exists, perhaps something like However, the above function does not exist. What else can I use? Answer If you are using Laravel 4 or 5 then there is the hasTable() method, you can find it in the L4