Iframe shows system in localhost - PHP

0

Good morning

I will try to explain my situation and see if there is a solution.

I have a server running a web application in java that I want to work only on localhost.

Also, on this server, I have a PHP system that is released for internet access, and accesses that java (localhost) application and returns the result. The reason for using another web system, and java is also web, are for specific reasons.

So, here's the problem:

I want to access the PHP system, and inside it have an iframe (example) that allows me to have access to the java system that works only localhost. Did you understand?

I've thought of something with cURL or file_get_contend, but maybe have another way or a library to help.

Thank you in advance

Thank you

    
asked by anonymous 08.03.2018 / 15:50

0 answers