Results 1 to 8 of 8

Thread: reading the full URL [resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member Acidic's Avatar
    Join Date
    Sep 2003
    Location
    UK
    Posts
    1,090

    reading the full URL [resolved]

    How can PHP read whether the URL startes with "http://" or "https://"?

    I did a search and found this:
    http://www.vbforums.com/showthread.p...ighlight=https
    which said I should try this:
    PHP Code:
    echo $_SERVER['HTTPS']; 
    But I get this error:
    Notice: Undefined index: HTTPS in c:\mina dokument\icefire security\test.php on line 2
    Last edited by Acidic; Jul 22nd, 2004 at 01:23 PM.
    Have I helped you? Please Rate my posts.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width