Guest_imported
New member
- Jan 1, 1970
- 0
Hi I have a site based on PHP and MySQL that I have recently been completely redesigning from scratch and to do that I installed Apache, PHP 4.0.2, and MySQL 3.23.10 on my home Windows 98 machine so I could edit the scripts locally. It's been going pretty smooth, I got stuck for a couple days on how I could use a /home equivalent in Windows, but I figured that out, and now I've got a problem I have no idea what's going on. Here's how it looks:
Every page includes a common header and footer. The footer contains a form that allows people to login. The form's method is post and action is another file that also contains the common header and footer as well as setting cookies and displaying a link that allows the person to go back to the page he/she was on before he/she logged on.
However, when I fill out the login form then click "submit", I get a file download dialog box. I have absolutely no idea why and have checked over my code as well as checking the html source from the browser, and can find nothing wrong. Any ideas?
P.S. The footer also contains a poll form who's action is $PHP_SELF and it works fine.
Every page includes a common header and footer. The footer contains a form that allows people to login. The form's method is post and action is another file that also contains the common header and footer as well as setting cookies and displaying a link that allows the person to go back to the page he/she was on before he/she logged on.
However, when I fill out the login form then click "submit", I get a file download dialog box. I have absolutely no idea why and have checked over my code as well as checking the html source from the browser, and can find nothing wrong. Any ideas?
P.S. The footer also contains a poll form who's action is $PHP_SELF and it works fine.