0

Ok, so i have a form that an ADMIN uses to registers a user (adds them to a database and gives them a username and password so they can log on to view their photos)

As soon as the form is submitted the admin is then directed to a page where they can start uploading photos for the user they JUST registered. They are directed to this page using the following:

header("Location:/upload/index.php?id=".$_REQUEST['email']);

The problem I'm facing is that I need to find a way to use $_REQUEST as a variable in my upload.php script(which is a separate file that actually processes the uploading). How would i pass that as a variable to upload.php?

any ideas???

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by dschuett
0

If you want a variable to be available in multiple modules, then save it as a SESSION variable and then it will be available everywhere as long as the session is active.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.