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!

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");
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.