Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > BT.Manager (phpMyBitTorrent)
Reply
Thread Tools
  #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
  #2  
Old 4th February 2010, 03:10
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,113
Default
because there is 2 functions which needs to load said file 2 times.
one is to fill out the information and the second it to check the inputed infomation and send out the E-mail.
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Manager™ forum
My Current Demo is here http://demo.btmanager.org/
Reply With Quote
  #3  
Old 5th February 2010, 01:43
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Default
ok thanks
Reply With Quote
Reply

Tags
cicle , userphp


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DATABASE: mysql_connect: Access denied for user 'user'@'localhost' ciolpalas Torrent Trader 2 30th June 2010 08:31
Bug in promoting user to power user in TS 5.6 crztz Template Shares 5 7th December 2009 03:58
TS 5.4.1 user can Rannari Template Shares 9 3rd April 2009 01:49
New User bazboz Introduce Yourself 1 2nd April 2009 17:48
how change the normal user to power or admin user in ts TS Special Edition v.5.1 theway Template Shares 2 27th September 2008 14:44



All times are GMT +2. The time now is 15:17. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.