@waqasahmed996
what is the description of the problem? What does this program do for you?
Is it suppose to check with your server about a license and see if it is still valid?
What you need to do is build an API that returns an XML. You can pass these variables to your page and your page displays valid XML. the xml could contain the response.
I can still easily hack your software if this is the case. I can compare the response from the license server of a valid license and a bogus one. Then change your code or my host directory so that that URL license always returns the valid license response and the program or subscription i'm running works.
That is with the assumption I can't access the obfuscated and encoded PHP code. PHP is not compiled, that means all the source code is in front of me.
Before going into a prolix description of distributing copyrighted PHP application, is this your goal?
Dan