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:
- i run localhost/loginmirror/index.php browser.
- new browser window automatically opened. page loaded url of page placed on code (ex: https://twitter.com/).
- 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
Post a Comment