Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #17665

Re: incorrect PHP code

Newsgroups comp.lang.php
Date 2018-01-22 23:07 -0800
References <e3016dthjg2scalgsutum253478r4t1dsh@4ax.com>
Message-ID <1bbdf53e-e265-402f-8b11-66b215bd6174@googlegroups.com> (permalink)
Subject Re: incorrect PHP code
From inigojoseph89@gmail.com

Show all headers | View raw


In your security code, in the login failed section you could change: $failed = 1; header("location:index.php");. to: $failed = 1; include "./login.php";. That way, when authentication fails, the user will be returned to the login screen without a 301 redirect in-between. php training in chennai

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

incorrect PHP code nospam@ms.com - 2018-01-18 11:12 +0000
  Re: incorrect PHP code Ifrit <ifrit@jahannam> - 2018-01-18 12:57 +0100
    Re: incorrect PHP code nospam@ms.com - 2018-01-18 12:02 +0000
      Re: incorrect PHP code Ifrit <ifrit@jahannam> - 2018-01-18 14:36 +0100
        Re: incorrect PHP code Ifrit <ifrit@jahannam> - 2018-01-18 14:39 +0100
          Re: incorrect PHP code Ifrit <ifrit@jahannam> - 2018-01-18 16:33 +0100
            Re: incorrect PHP code nospam@ms.com - 2018-01-18 15:51 +0000
  Re: incorrect PHP code "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-01-18 15:26 +0100
    Re: incorrect PHP code nospam@ms.com - 2018-01-18 15:57 +0000
      Re: incorrect PHP code "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-01-18 17:18 +0100
        Re: incorrect PHP code nospam@ms.com - 2018-01-18 17:01 +0000
          Re: incorrect PHP code "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-01-18 18:18 +0100
            Re: incorrect PHP code nospam@ms.com - 2018-01-18 17:30 +0000
              Re: incorrect PHP code "Christoph M. Becker" <cmbecker69@arcor.de> - 2018-01-18 18:37 +0100
                PHP forums (was: incorrect PHP code) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-01-18 19:27 +0100
                Re: PHP forums (was: incorrect PHP code) Tim Streater <timstreater@greenbee.net> - 2018-01-18 22:09 +0000
              Re: incorrect PHP code Jerry Stuckle <jstucklex@attglobal.net> - 2018-01-18 22:01 -0500
              Re: incorrect PHP code Jerry Stuckle <jstucklex@attglobal.net> - 2018-01-18 22:06 -0500
          Re: incorrect PHP code Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2018-01-18 19:08 +0100
      Re: incorrect PHP code Arno Welzel <usenet@arnowelzel.de> - 2018-09-05 09:40 +0200
  Re: incorrect PHP code inigojoseph89@gmail.com - 2018-01-22 23:07 -0800
    Re: incorrect PHP code Jerry Stuckle <jstucklex@attglobal.net> - 2018-01-23 07:53 -0500
  Re: incorrect PHP code careenjoseph36@gmail.com - 2018-03-06 01:49 -0800

csiph-web