troubleshooting Question

How can I get a different page to display after running a download script In php (without javascript) ?

Avatar of anAppBuilder
anAppBuilderFlag for United States of America asked on
PHP
4 Comments1 Solution196 ViewsLast Modified:
In https://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_22119985.html, glcummins explains how to create a download script in php.  

I am runing a similar script, but I require a login before the download.  If the user is not logged in, the "Download" button puts up a login page.  If I have the  download script trigger off my "Login" button, then after the download, the user is left looking at the login page.  Is there some way to get the user back to the download page (or the home page) after the download?

I realize that I could have the login page return the user to the downlaod page and then have the user click the "Download" button again, but that seems a bit inconvenient.  And I do not want to use javascript on this site.

Thanks for any suggestions.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros