我可以使用PHP代码获取Android设备的序列号吗? [关闭]

If I use a simple code from Java and it get serial number of android device, now how do I use the Java file in PHP code and when the user clicked a button, my php code uses the Java file and gets the serial number.

Note: I do not want to use Tomcat server and I want to use Apache server only.

You can only get unique ids in native code on the device, not in Java code on an external Tomcat server nor in any language on a webserver because the UUID is not sent in the HTTP headers