crap, I usually don't have problems with PHP, but now I am.
The form has a list of files to download, then I'm trying to have it redirect after I submit a form to download the actual file. It should redirect to a .doc file, but since I already have the header filled out, it won't let me use header. Does anyone know of a different way to redirect? Or anything that might help?
| Code: |
| <?php
if ($_POST['form_submitted2']) { $myUrl = $_POST['word_letter']; header("location:http://tcomputers.frih.net/" + $myURL); } else { echo "<div align=center>Select Newsletter You Wish To Download</div>"; } ?> |
The form has a list of files to download, then I'm trying to have it redirect after I submit a form to download the actual file. It should redirect to a .doc file, but since I already have the header filled out, it won't let me use header. Does anyone know of a different way to redirect? Or anything that might help?
