Re: Extreme Newbie Question
| From: | Web Master | Date: | Fri, 15 Sep 2000 21:39:24 +0000 |
| Subject: | Re: Extreme Newbie Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16991@lists.php.net to get a copy of this message | ||
I remember one gentleman in this group mention something like like, may be it
help,
You have to type a new MIME type for this in conf/srm.conf
AddType application/x-http-php .phtml
fsgreen wrote:
> i had already tried .php - i just tried .php3 with the same result.
>
> thanx.
>
> - doug.
>
> On Fri, 15 Sep 2000, Web Master wrote:
>
> > Date: Fri, 15 Sep 2000 15:30:52 -0600
> > From: Web Master <webmaster@unni.com>
> > To: fsgreen <fsgreen@gwis.com>
> > Cc: php-general@lists.php.net
> > Subject: Re: [PHP] Extreme Newbie Question
> >
> > did you try .php or .php3 extensions?
> >
> > fsgreen wrote:
> >
> > > howdy all,
> > >
> > > i requested the FAQ and was told it wasn't available, so i'm gonna resort
> > > to bothering the list :-(
> > >
> > > i've been doing web design and c programming on and off for quite a while,
> > > so i'm only a newbie to PHP :-)
> > >
> > > i'm trying to verify that PHP is functional on my new hosting service's
> > > server and have been failing miserably. i've named the file .phtml but
> > > everything i've tried has given me a:
> > >
> > > Premature end of script headers: <path to file>
> > >
> > > the entire file is:
> > >
> > > <html>
> > > <head>
> > > <title>Doug's PHP test page</title>
> > > </head>
> > > <body>
> > > <p>this might actually show up...</p>
> > > <?php
> > > echo "if you want to serve XML documents, do like this\n";
> > > ?>
> > > </body>
> > > </html>
> > >
> > > is there something else i need to specify to invoke PHP? this example is
> > > pretty much straight from the PHP docs on the PHP web site.
> > >
> > > i'm wondering if perhaps no one has tested PHP on the particular server my
> > > domain is being hosted on and have asked this of their tech support.
> > >
> > > tips, corrections, and web liks appreciated.
> > >
> > > thanx.
> > >
> > > doug.
> > >
> > > Doug Greenwald Unix and Internet Geek
> > > fsgreen@gwis.com Amateur Photographer
> > > http://w3.gwis.com/~fsgreen
> > > Official Procrastinator
> > >
> > > I shall meet all of my deadlines directly in proportion to the amount of
> > > bodily injury I could expect to receive from missing them.
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-general-help@lists.php.net
> > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> > --
> > -Web master
> > http://www.unni.com
> > http://www.malayalamovies.com
> > http://www.kavil.com
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
> Doug Greenwald Unix and Internet Geek
> fsgreen@gwis.com Amateur Photographer
> http://w3.gwis.com/~fsgreen Official
> Procrastinator
>
> I shall meet all of my deadlines directly in proportion to the amount of
> bodily injury I could expect to receive from missing them.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
-Web master
http://www.unni.com
http://www.malayalamovies.com
http://www.kavil.com