how to determin what url has opened file now? (php)
- by Ole Jak
so I want to be able to get informed if my php script file is opened in localhost/myfile.php or in something like 222.22.22.22/myfile.php
so I needa php function to determin if url starts with localhost or any other address (I want to get it as string like '22.33.22.33')
How to do such thing?