DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   PHP (http://www.daniweb.com/forums/forum17.html)
-   -   Personal Account Page (http://www.daniweb.com/forums/thread144003.html)

gpdrums Sep 4th, 2008 12:43 pm
Personal Account Page
 
I want to redirect authenticated users to a personal account page where they will see links to pdf documents in their folder.

1. How do I perform this redirect?
2. How do I call the file names for the documents in the account folder?

Thanks much!

antwan1986 Sep 4th, 2008 6:05 pm
Re: Personal Account Page
 
Quote:

Originally Posted by gpdrums (Post 684397)
I want to redirect authenticated users to a personal account page where they will see links to pdf documents in their folder.

1. How do I perform this redirect?
2. How do I call the file names for the documents in the account folder?

Thanks much!

Hi. We'll need some more information for example, how are you authenticating them? Sessions? Can you show us the code? If so, you would set up an IF statement to say that IF they are logged in correctly, redirect here. You can redirect like so:

header("location:success.php");


All times are GMT -4. The time now is 7:37 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC