Skip to content

Install FFMPEG on WAMP

I’ve probably spent over 12 hours trying to install FFMPEG on WAMP. I’m aware that other people have had this question answered on this site, however it does not work for my setup. I have tried the …

Count files and subfolders in directory

I am writing a script which counts all files and folders recursively. I tried two approaches but each of these returns a different value: Script 1: 2376 Script 2: 2178 Here are the two scripts: $…

need preg_match_all links

i have a string like this one: $string = “some text http://dvz.local/index/index/regionId/28 http://stuff.kiev.ua/roadmap_page.php http://192.168.3.192/roadmap_page.php http://192….

MySQL prepare vs PHP mysqli prepare

I was wondering if there was any difference between the MySQL PREPARE/EXECUTE clauses and the PHP mysqli prepare/execute methods? Are either better or worse at preventing injections? I am curious …

UTF 8 and Windows 1254 charset mismatch

I’m using Drupal 7. And i created a block and embed this code: My site charset: And external link charset is: So, when get some info on external link, i have character problem (don’t seen İ, ç, ş etc..) How can i solve this? Answer In your block, I would create these two lines: so this page’…