Re: PHP4_Win98se_Apache. text in window instead of html response?
| From: | J Wynia | Date: | Sun, 10 Mar 2002 22:09:56 +0000 |
| Subject: | Re: PHP4_Win98se_Apache. text in window instead of html response? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12566@lists.php.net to get a copy of this message | ||
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" <bparks1@tampabay.rr.com> wrote in message
news:20020310015602.29587.qmail@pb1.pair.com...
> 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"; ?>
>
>
>