943,809 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 447
  • PHP RSS
Sep 4th, 2008
0

Personal Account Page

Expand Post »
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!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
gpdrums is offline Offline
36 posts
since Sep 2007
Sep 4th, 2008
0

Re: Personal Account Page

Click to Expand / Collapse  Quote originally posted by gpdrums ...
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:

PHP Syntax (Toggle Plain Text)
  1. header("location:success.php");
Reputation Points: 14
Solved Threads: 8
Junior Poster
antwan1986 is offline Offline
110 posts
since May 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: URL Variables PHP4 to PHP5
Next Thread in PHP Forum Timeline: if, else and while





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC