Re: newbie problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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
> jnichel@xxxxxxxxxxxxxxxxxxxxxxxxxxx
> 
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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux