I need to pass information between php files. would the best way be through cookies?
Mark
Passing variables between php files
Moderator: General Moderators
OK, At the moment I have it so a user must login to see their "personal page." Passing the variable with a form is simple in this case, but I would rather not use forms for everything. From this personal page I want to be able to send along the users name and ID # which will be used for accessing files in other PHP files.
you can check what I am talking about here. Notice that once you are registered and logged in it says welcome $yourname in the title. That name plus a special hidden ID tag will need to get passed onto other pages
http://eisbock.dcc.uaf.edu/~fxmri/project/
you can check what I am talking about here. Notice that once you are registered and logged in it says welcome $yourname in the title. That name plus a special hidden ID tag will need to get passed onto other pages
http://eisbock.dcc.uaf.edu/~fxmri/project/