How to determine which URL accessed the script
        Posted  
        
            by Ole Jak
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Ole Jak
        
        
        
        Published on 2010-05-10T23:50:30Z
        Indexed on 
            2010/05/11
            0:14 UTC
        
        
        Read the original article
        Hit count: 664
        
How do I tell if my script was accessed as http://localhost/myfile.php or, for example, http://222.22.22.22/myfile.php? I need to get it as a string
© Stack Overflow or respective owner