Good day all.
I am new to PHP, and so far have not really had any problem that I could not figure out until now.
I would like to use something similar to the Header() function to first retrieve a file (for open or save) and second redirecting to my home page:
I have a form that feeds MySQL db just fine. I send an email alert and it works fine. Then I have tried to do several things around the following;
header ( Location: Http://www.domain.com/getfile.doc);
header (Location: Http://www.domain.com/redirectpage.htlm, false);
It works fine only using one or the another.
I've read the documentation and read that you can only use the header function once.
I thought this would be simple coding but I have spent seven hours on this and have not gotten anywhere.
If this helps the, my provider (Yahoo) has PHP 4.1 installed.
Thanks for any help in advance.
-Tony