This is the question to webmasters. I'm looking for a tip, tool or direction. Or maybe someone could give me the solution. The problem sounds simple.
I have my own http server which interpret and answer for http requests.
Example:
If i enter link: http:// ip_server/link1 , it makes some functionality
If i enter link: http:// ip_server/link2 , it makes another funtionality ect.
Problem:
What i want to do is to have another website on different domain with buttons. When user clicks button, it enters a link on my own server e.g. http:// ip_server/ link1 but the webiste with buttons will remain unchanged.
It's something like HTML href which opens link but doesn't open new website hide under this link. I was thinking about it and consider the problem that it could be impossible direct from webbrowser because, it is insecure and blocked by security.
From my point of view the only one solution will be PHP server or Java Servlet on which i can connect to my own serwer. Or there's a way to do it by ajax, jquery, js. Maybe i'm looking to far.
you could simply "request" the Url with ajax, sth like this pseudoCode: