The most common cause of PHP scripts being displayed on PHPTriad installations is not routing requests through the web server, ie. opening the files through the browser's File -> open menu rather than through a URL like http://localhost/script.php. "Bob Parks" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Refresh my memory. Just reformatted my c:\ and rebuilding from scratch. > > In my IE6 browser window I'm getting php text instead of html "order > results" page after submitting a form. > > See below. > > ****** > I need the proper install instructions for PHP4 with Apache server on Win98. > It worked before formatting my c:\.. I'm starting from scratch again. Tried > the phpTriad. I know it's in my apache http.conf or php.ini.. > Please list .dlls needed in windows\system too. > Thanks. > > **** my results in IE 6.0 after "submit form". Text not html page. > > ------------------------------------ > Order Results // Should be html with results not the following plain > text > "; echo $oilqty." bottles of oil > "; echo $sparkqty." spark plugs > "; $totalqty = 0; $totalamount = 0.00; define("TYREPRICE", 100); > define("OILPRICE", 10); define("SPARKPRICE", 4); $totalqty = $tyreqty + > $oilqty + $sparkqty; $totalamount = $tyreqty * TYREPRICE + $oilqty * > OILPRICE + $sparkqty * SPARKPRICE; $totalamount = > number_format($totalamount, 2); echo " > \n"; echo "Items ordered: ".$totalqty." > \n"; echo "Subtotal: $".$totalamount." > \n"; $taxrate = 0.10; // local sales tax is 10% $totalamount = $totalamount > * (1 + $taxrate); $totalamount = number_format($totalamount, 2); echo "Total > including tax: $".$totalamount." > \n"; ?> > > >
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php