View Single Post
  #1  
Old 3rd February 2010, 17:56
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default user.php cicle ?
user.php?op=lostpassword

is
PHP Code:
 case "lostpassword": { 
                if (
$user->user) break; 
                include(
"user/lostpassword.php"); 
                break; 
        } 
user/lostpassword.php

PHP Code:
if (!isset($postback)) { 
        
//When button is NOT clicked yet 
        
echo "<form action=\"user.php?op=lostpassword\" method=\"POST\">\n"
form calls for function defined in same file !
why ??
if user.php will redirect request back to lostpassword.php
so what's the point of this lap ??
Reply With Quote