Does anyone here know of a magnet-URI-parser for PHP? To validate it, or maybe to extract some information from it?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
source https://github.com/alfredfrancis/Info-Hash-To-Magnet-URI/blob/master/example.php
In case you're looking for something like this:
take a look at the Demo.
Can't say if this matches your need, your question was sort of unspecific. So leave a comment.
If you only need the fields, here is a quick and dirty one liner:
Should yield: