What I want to do is select a month and then have a PDF file names SL_mmm.pdf display
where mmm is the month passed from the dropdown. Both the *.php file and the *.htm file
are in the same directory with the PDF file in a subdirectory under that.
What is happening is on the htm page I am picking Feb and hitting Go, then
the browser shows website/PVETest.php?month=Feb
Then I get page not found 404 error but it is there.
It is like the htm page is not really getting to the PHP file.
Thanks in advance
Environment:
Software loaded and verified
Win Server 2003
IIS 6.0
PHP 5.4
VC9 x86
FastCGI
WinCache 1.3
Visual C++ Redistributable files for X86
PHP has been tested and works from command prompt
All FastCGI changes have been made per documentation
HTML code
Mar Feb JanPHPTest.php code
<?php // The URL of the form page. The PHP script // redirects to it if someone loads the script // directly without submitting the form properly. $url='href:/PVEHomeTest.htm'; if(isset($_POST['month'])) { // should return a URL like "http://foo.com/Mar.pdf". $url='http://www.loventhal.com/Public/SL'.$_POST['month'].'.pdf'; } header("Location:$url"); exit; ?>Posting.txt (3.34 KB)