identify what webpage URL is opened in php -


i have php page logs in account if real person doing it. put in php script checks webpage url opened. page works way:

  1. i run localhost/loginmirror/index.php browser.
  2. new browser window automatically opened. page loaded url of page placed on code (ex: https://twitter.com/).
  3. i use php scripts put in username , password , click login button. necessary input , clicking done php code. no human needed. after clicked, redirected next page , on , on.

i url of particular page opened. have tried using

$_server['http_host'].$_server['request_uri']

but retrieves this: loginmirror/index.php instead of returning page in google mail opened.

how url want retrieve? thanks


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -