I don't believe them that anyone using threads, at least meaningfully. It's the same thing for Facebook, people just don't engage with Meta platforms like they are thinking. This isn't 2006.
Same
Internet Archive seemed to grab the new version
https://web.archive.org/web/20...d/Setup_MakeMKV_v1.18.4.exe
Here's the link to an additional file it periodically downloads
https://web.archive.org/web/20260213092148/https://www.makemkv.com/sdf.bin
I think update's keys, etc. To manually trigger this update, put the sdf.bin file in the root of where the program is installed. When you launch the program it will pick up the file and import it. Typically put it here: C:\Program Files (x86)\MakeMKV\sdf.bin
Question
sathenzar
All I want to do is get every <drs:import tag> in an array. For whatever reason it seems I'm too stupid to do this. I've been trying for hours.
This is the code:
$f = fopen( "./c/1/tpl/sitedoc.tpl", "r" ); $contents = fread( $f, filesize("./c/1/tpl/sitedoc.tpl") ); $imports = preg_match_all( "/<drs:import(.*)\/>/s", $contents, $m ); $contents = preg_replace( "/{DRSTPL_DOC}/s", $data, $contents ); echo "ECOM1: " . $m[0][0]; fclose($f); return($contents);File (sitedoc.tpl):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <drs:import type="javascript" file="{112908-52ecce2d-d837-4912-9bb7-2df81ca5863c}.js" /> <drs:import type="javascript" file="{112908-52ecce2d-d837-4912-9bb7-2df81ca5863c}.js" /> <drs:import type="javascript" file="{112908-52ecce2d-d837-4912-9bb7-2df81ca5863c}.js" /> </head> <body> {DRSTPL_DOC} </body> </html>It just keeps spitting out the whole page or nothing at all. I've tried $m[0][0], [0][1] [1][1], nothing works. help please?
Edited by sathenzarLink to comment
https://www.neowin.net/forum/topic/704934-php-reg-exp-is-driving-me-insane/Share on other sites
6 answers to this question
Recommended Posts