# Get content ID from a Magnet Link by PHP

**URL:** <https://forum.acestream.media/t/get-content-id-from-a-magnet-link-by-php/3276>\
**Category:** Torrent Stream API\
**Created:** [31.Январь.2016 23:01:06 UTC](https://forum.acestream.media/t/get-content-id-from-a-magnet-link-by-php/3276 "2016-01-31T23:01:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![valentin1000](https://forum.acestream.media/letter_avatar_proxy/v4/letter/v/2acd7d/32.png) [@valentin1000](https://forum.acestream.media/u/valentin1000)\
**Post date:** [31.Январь.2016 23:01:06 UTC](https://forum.acestream.media/t/get-content-id-from-a-magnet-link-by-php/3276/1 "2016-01-31T23:01:06Z")

</div>

Greetings to all.

As much as I’m looking for I find no way to get the content ID from infohash a Magnet Link by PHP.

> magnet:?xt=urn:btih:IJBDPDSBT4QZLBIJ6NX7LITSZHZQ7F5I

to

> acestream://2c81a5bdfc2ab10e617d2a872e5ee70b28a49ffc

Could you help me?

Thank you.

---

<div class="post-metadata">

**Author:** ![valentin1000](https://forum.acestream.media/letter_avatar_proxy/v4/letter/v/2acd7d/32.png) [@valentin1000](https://forum.acestream.media/u/valentin1000)\
**Post date:** [12.Февраль.2016 20:27:23 UTC](https://forum.acestream.media/t/get-content-id-from-a-magnet-link-by-php/3276/2 "2016-02-12T20:27:23Z")

</div>

Any Help here… please???
