Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 6, 2006, 03:07 PM   #1
cwesty
macrumors member
 
Join Date: Oct 2005
Login.php problem - please help

I'm really struggling to get the login.php page to work.
Register is fine - I can see the registered user in my mysql database.
However, when I try and register that user I don't get my members.php page as I'd expect.

The start of my code in login.php looks like this:
<?php
ob_start();
require_once($_SERVER['DOCUMENT_ROOT'].'/db_connect.php');

if(isset($_SESSION['username']) && isset($_SESSION['password'])) {
//REDIRECT TO USERS PROFILE...

header("Location:http://www.mysite.co.uk/index.php?exec=members";

ANY IDEAS??
cwesty is offline   0 Reply With Quote
Old Feb 6, 2006, 06:27 PM   #2
superbovine
macrumors 68030
 
superbovine's Avatar
 
Join Date: Nov 2003
we cannot answer your question because we don't have enough information....
superbovine is offline   0 Reply With Quote
Old Feb 6, 2006, 06:41 PM   #3
jestershinra
macrumors regular
 
Join Date: Sep 2004
Perhaps because you're redirect to index.php?exec=members and not members.php?
jestershinra is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Time Machine - Strange Problem - Please help? queshy Mac OS X 3 Feb 22, 2010 03:08 PM
HELP! - Update problem - please help!! -Josh- MacBook Pro 2 Nov 26, 2007 10:39 AM
Login problems - please help me! Will Cheyney Mac Basics and Help 5 May 16, 2006 07:35 AM
Dlink wireless problem - Please help applebum Macintosh Computers 3 May 5, 2004 03:23 AM
OSX mysterious problem - Please help mushyosh General Mac Discussion 1 Oct 8, 2003 04:34 PM


All times are GMT -5. The time now is 06:42 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC