Getting a device UDID from .mobileconfig

前端 未结 4 866
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-29 02:17

I\'m trying to write function similar to http://whatismyudid.com/ that, then approved, will return the users UDID and store it to a database for future reference with that u

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-29 02:25

    Note about the last page ( FOLDER ).

    If you want to use a page script for final redirection in place of a folder.

    you can change this :

    header("Location: https://www.example.com/enrolment?params={$params}");

    by

    header("Location: https://www.example.com/enrolment.php?params={$params}", true, 301);

    Source : header function on php.net manual

    it's work !

提交回复
热议问题