Jump to content

edgedata

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

edgedata's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hey, I run a phpBB with a few private forums and would like to give my users an easy way to switch between SSL and HTTP. Here's some psuedo-code that will hopefully give you guys an idea of what I mean: [code]//IIRC, php should have an operator to return each part of the URL. create var "Link_to" create var "Address" if [Protocol] == "http://",  var "Link_to" is assigned the value of "Secure" and var "Address" the value of "https://mysite.com/" else var "Link_to" is assigned the value of "Unsecure" and var "Address" the value of "http://mysite.com:2006" //link should read: <a href="{"Address"+"Current path"}">"Link_to"</a>[/code]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.