[SOLVED] PHP Logout Message when redirect

This is a discussion on "[SOLVED] PHP Logout Message when redirect" within the PHP Forum section. This forum, and the thread "[SOLVED] PHP Logout Message when redirect are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #41 (permalink)  
Old Nov 20th, 2007, 07:15
Reputable Member
Join Date: Jul 2006
Location: Baldock
Age: 20
Posts: 447
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Aaron1988 Send a message via Yahoo to Aaron1988
Smile Re: [SOLVED] PHP Logout Message when redirect

this is my form i couldn't work out where to change it lol.

HTML: Select all
<form class="form" action="<?=$_SERVER['PHP_SELF']?>" method="post">
   <input type="hidden" name="_submit_check" value="1"/> 
  
   <div style="margin-top:12px; margin-bottom:10px">
    <img src="login/images/username.gif" alt="username" border="0" />
    <input class="input" type="text" name="username" id="username" size="25" maxlength="40" value="" />
   </div>
   <div style="margin-bottom:6px">
    <img src="login/images/password.gif" alt="password" border="0" />
    <input class="input" type="password" name="password" id="password" size="25" maxlength="32" />
   </div>
   <?php if ( ALLOW_REMEMBER_ME ):?>
   <div style="margin-bottom:6px">
    <input type="checkbox" name="remember" id="remember" />
    <label for="remember">Remember me</label>
   </div>
   <?php endif;?>
   <input type="image" name="Login" value="Login"  class="submit-btn" src="login/images/btn.gif" alt="submit" title="submit" />
   <br class="clear" />
   <a href="register.php">Register</a> / <a href="forgot_password.php">Password recovery?</a>
   
  </form>
Reply With Quote
  #42 (permalink)  
Old Nov 20th, 2007, 07:22
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: [SOLVED] PHP Logout Message when redirect

Well you didn't change the target like I said:
HTML: Select all
action="login.php"
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #43 (permalink)  
Old Nov 20th, 2007, 07:28
Reputable Member
Join Date: Jul 2006
Location: Baldock
Age: 20
Posts: 447
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Aaron1988 Send a message via Yahoo to Aaron1988
Smile Re: [SOLVED] PHP Logout Message when redirect

ow i add to take oput the php self code lol and change with login.php lol
Reply With Quote
  #44 (permalink)  
Old Nov 20th, 2007, 08:25
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: [SOLVED] PHP Logout Message when redirect

I'm sorry could you rephrase that?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #45 (permalink)  
Old Nov 20th, 2007, 08:29
Reputable Member
Join Date: Jul 2006
Location: Baldock
Age: 20
Posts: 447
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Aaron1988 Send a message via Yahoo to Aaron1988
Re: [SOLVED] PHP Logout Message when redirect

Hey i mean ow i didnt realise you meant i had to change the action lol cause you said target but anyhow got it to work lmao just trying to think where will be the best place to input it and i didnt take the form and place in page lol i used the

PHP: Select all

<?php include("login/login.php"); ?>

cause it was alot easier and tidier lol
Reply With Quote
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
session in not clear after logout uday Other Programming Languages 0 Mar 3rd, 2008 05:45
[SOLVED] PHP contact form redirect to same form Posie PHP Forum 14 Jan 29th, 2008 20:28
[SOLVED] Database Connection Error Message Monie Classic ASP 6 Nov 2nd, 2007 08:08
[SOLVED] "New Visitor" Redirect? Anonymous User JavaScript Forum 11 Oct 11th, 2004 12:07
LOGOUT function Monie Classic ASP 16 Aug 19th, 2004 01:29


All times are GMT. The time now is 20:53.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43