• Member for 8 years, 11 months
  • Last seen more than 1 year ago
PHP login redirect security
5 votes

The way you're doing it has advantages over a session based redirect because you have the ability to link people directly to that login with redirect URL. The disadvantage is phishing as you pointed ...

View answer
Displaying content based on the current time
Accepted answer
4 votes

You are repeating a lot of HTML, which I guess you know could be condensed down, you can also make use of elseif this way it will execute the first TRUE statement and skip the rest. If there are no ...

View answer