On Monday 20 February 2006 15:32, Robert Voogdgeert wrote:
> > 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

Is the file in one of your home folders, or in a folder that Apache is 
configured to check?  (I've seen that happen from time to time)

eg. file in /home/myhome/projects/file.php

or

file in /var/www/htdocs/file.php

Also, was apache restarted after allowing PHP (if applicable)

-- 
Ray Hauge
Programmer/Systems Administrator
American Student Loan Services
http://www.americanstudentloan.com
1.800.575.1099

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

Reply via email to