-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Robert Voogdgeert wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > Dear php-users,
> > 
> > 
> > When working with an HTML file with a form with
> > 
> >     <form action="somename.php" method="post">
> >     
> > the somename.php file is served (completely) to my browser as plain 
> text
> > after the 'submit' button is clicked on my machine (MacOS X). On the
> > external webhost though everything is processed correctly...
> > 
> > Is this related to some setting that I should change on my
localhost?
> <snip>
> 
> Is your localhost parsing php documents?  If you're using Apache, do
you 
> have a line like this in you httpd.conf....
> 
> AddType application/x-httpd-php .php
> 
> -- 
> John C. Nichel IV
> Programmer/System Admin (ÜberGeek)
> Dot Com Holdings of Buffalo
> 716.856.9675
> [EMAIL PROTECTED]
> 
John,


My httpd.conf has the following:

<IfModule mod_php4.c>
    # If php is turned on, we repsect .php and .phps files.
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps

Robert

-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.0.3

iQA/AwUBQ/pDjrSl/DgWyrAzEQJLyQCgvVwSVICv4tRgp6r5GQMdMXfR78cAoO9Y
CROHvZImh4LFXGxWV0UoUgld
=qSjr
-----END PGP SIGNATURE-----

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to