Hello!
Is it possible, knowing the ip-address of the site or server, to run a php file that is stored on the same server?
Most likely, this will not work, but I still decided to ask.Maybe cUrl can help?
Thank you in advance.
  • Is it possible, knowing the address of an apartment or house, to start a washing machine that is stored in this apartment? – Blissful Crystal Jun 29 '19 at 12:08

1 Answers 1

will not work in the general case.

If there is only one site on the address, then theoretically you can try to access the script by specifying the server address instead of the domain.
  • ok.if you put a redirect from a subdomain to another site on a url on a hosting, how on another site can you find out which domain you have been transferred to? $_SERVER['HTTP_REFERER'] header is empty .. – Awesome56 Jun 29 '19 at 10:37
  • parameter to transmit with redirect
    relirect to subdomain + domain refresh
    – All-Star Jetski Jun 29 '19 at 15:07