CLOSED Re: [WSG] .php extension

2005-01-30 Thread James Ellis
Hi list

Once again, server side scripting and the innards of various web
servers are off topic for this list.

I suggest you ask a dedicated PHP list or user group

http://www.php.net/mailing-lists.php
http://sitepoint.com
http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf-8&q=php+user+groups

You can, of course, help and answer questions off list.


Cheers
James
---
admin
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



Re: [WSG] .php extension

2005-01-26 Thread Andrew Krespanis
On Thu, 20 Jan 2005 13:51:35 -0330, Paul <[EMAIL PROTECTED]> wrote:
> I have a template that I have created and am creating all my pages from
> that. I have named this file x.html but when I try and rename it to
> x.php, because I have some dynamic content on it, nothing displays. Any
> ideas why this happens ?

Well, everyone seems tobe giving very complicated answers, though I
think your problem may be more simple...

By 'nothing displays', do you mean the page renders blank? Are you
serving an xml prologue (http://leftjustified.net/
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



Re: [WSG] .php extension

2005-01-26 Thread Bruno Torres
> Both AddType and AddHandler are instructions for the Apache server, not for 
> the
> user agent. Instruction for user agent is sent by the server in
> Content-type: header.
> AddType denotes MIME type of the php file, and php module knows
> what it should take care of  application/x-httpd-php files. After processing
> php module returns result - plain html to the browser with correct text/html
> MIME type, so it is correct to use AddType.

Yes, sorry. I was wrong.
I read the docs and see that AddType is indeed the correct option.
Cheers!

-- 
Bruno Cunha Torres
http://www.brunotorres.net/
http://www.dotplusweb.com/
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



RE: SPAM-LOW: RE: [WSG] .php extension

2005-01-26 Thread Peter Goddard








You seem pretty keen on it. J

 

Frankly, this is off list, so I am not
going to get into the debate. I have used PHP in the enterprise, but I’m
a .NET developer now, and all this

“my interpreted/compiled language is
better than yours” crap is just nonsense. I couldn’t give a damn
what coldfusions’ user base is, or if it is larger than PHP5.

 I’d recommend PHP to anyone
wanting to get into Object Oriented programming without their brains exploding!


 

A transition to a compiled language from
there is relatively painless.

 

Most of the users of this list are either
struggling with web standards and accessibility and CSS or they already know
their stuff (you know who you are) and want to help those who are struggling.

 

This doesn’t help solve the problem
the original poster had.

 

If he hasn’t given up yet!

 

Peter

 

 

-Original
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of csslist
Sent: 25
 January 2005 09:15
To: wsg@webstandardsgroup.org
Subject: re: SPAM-LOW: RE: [WSG]
.php extension

 

BTW surely you are not suggesting that Coldfusion is
a serious
competitor for PHP5? - not one for this list though? :-)

a serious competitor? haha
php wont catch up to coldfusions user base for a long time and that probably
wont happen at all unless php takes on an underlying structure from either java
or .net.
last stats i saw cfm was pretty far infront
an quite honestly the only real reason i have heard anyone say they dont use
cfm is the cost and for most of us there really is no cost unless ur building
an enterprised sized app then the $1200 is far a bargain in time saved
programming and if it is a enterprised app it most likely wont be done in php
anyway.
i dont see how u can compare php to cfm at all, especially not power wise now
that cfm has a j2ee backbone and can run jsp tags right and has all that java
power to run on not to mention all the new goodies in blackstone (flash forms,
reporting, sms, 1 tag codes for pdf or flashpaper output, etc...)

so usually it comes down to basically ppl being severely under-informed about
coldfusion.
not to mention cfm & flash run hand in hand together, whoo hoo

and u dont have to rely on someones cruddy programming and hacks for things
such as amfphp when its built into cfm

but to each his own :)













From:
"Peter Goddard" <[EMAIL PROTECTED]>
Sent: Tuesday, January 25, 2005
3:43 AM
To: wsg@webstandardsgroup.org
Subject: SPAM-LOW: RE: [WSG] .php
extension

If your host has set up Apache correctly, naming the file anything.php
should enable you to view it in your browser. 

Do you have Apache installed on your development machine? 
Does the file work there? 
Have you got the same Apache version as your host? 
Have you got the same version of PHP as your host?
Could you provide a link to the source code?
Have you tried posting to one of the excellent php forums - (eg
Sitepoint.com)

The chances are that your host is running Apache 1.3. with PHP4.

BTW surely you are not suggesting that Coldfusion is a serious
competitor for PHP5? - not one for this list though? :-)

Hope this helps

Peter



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of csslist
Sent: 20 January 2005 22:47
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] .php extension

is the page titled index.php or default.php?
if so then u need to have the host set up your site to look for either
one by default and also flush the cash

u should also take a look at coldfusion ;)


-- Original Message --
From: Bruce 
Reply-To: wsg@webstandardsgroup.org
Date: Thu, 20 Jan 2005 13:30:45 -0500

>Paul wrote:
>
>>I have a template that I have created and am creating all my pages
from
>>that. I have named this file x.html but when I try and rename it to
>>x.php, because I have some dynamic content on it, nothing displays.
Any
>>ideas why this happens ?
>>
>>Paul
>> 
>>
>
>This may sound dumb, but I switched to php a few times, if you don't 
>delete the old html file the browser will pick that up instead. But I'm

>sure you thought of that :-)
>Bruce Prochnau
>www.bkdesign.ca
>**
>The discussion list for http://webstandardsgroup.org/
>
> See http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
>**
>
>

**
The discussion list for http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**

**
The discussion list for http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**












Re: [WSG] .php extension

2005-01-26 Thread Rimantas Liubertas
On Tue, 25 Jan 2005 17:15:19 -0200, Bruno Torres <[EMAIL PROTECTED]> wrote:
> I know that the PHP documentation tell you to use AddType, but the
> correct to use should be AddHandler.
> Yes, I know, AddType works, but AddType is used to inform the user
> agent how to treat a file with some extension. AddHandler though is to
> inform the server how to _hadle_ a document.

Both AddType and AddHandler are instructions for the Apache server, not for the
user agent. Instruction for user agent is sent by the server in
Content-type: header.
AddType denotes MIME type of the php file, and php module knows
what it should take care of  application/x-httpd-php files. After processing 
php module returns result - plain html to the browser with correct text/html
MIME type, so it is correct to use AddType.

> In the case of PHP, the AddHandler directive will tell apache to treat
> all .php (or, in the case .html) files as application/x-httpd-php
> i.e., use the PHP module to parse the file and deliver to the browser
> with the correct MIME Type.
> So, AddType denotes a MIME Type and AddHandler denoter, uh, a handler.
> The correct woud be using:
> AddHandler application/x-httpd-php .php .html

This is, in fact, incorrect, because AddHandler should be given not
MIME type, as you
do in your example, but handler name, such as: cgi-script,
server-info, server-status etc,
Handler name for the php is php-script for PHP4, or php5-script for PHP5.
The whole thing should look like:

AddHandler php5-script php
AddType text/html php

This is valid for Apache2.
However it is recommended to use AddType, and use AddHandler when you
want to use MultiViews with php.

Regards,
Rimantas
--
http://rimantas.com/
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



Re: [WSG] .php extension

2005-01-25 Thread Bruno Torres
>Look for the line:
>AddType application/x-httpd-php .php
>
>make it:
>AddType application/x-httpd-php .html .php

I know that the PHP documentation tell you to use AddType, but the
correct to use should be AddHandler.
Yes, I know, AddType works, but AddType is used to inform the user
agent how to treat a file with some extension. AddHandler though is to
inform the server how to _hadle_ a document.
In the case of PHP, the AddHandler directive will tell apache to treat
all .php (or, in the case .html) files as application/x-httpd-php
i.e., use the PHP module to parse the file and deliver to the browser
with the correct MIME Type.
So, AddType denotes a MIME Type and AddHandler denoter, uh, a handler.
The correct woud be using:
AddHandler application/x-httpd-php .php .html

Cheers!

-- 
Bruno Cunha Torres
http://www.brunotorres.net/
http://www.dotplusweb.com/
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



re: SPAM-LOW: RE: [WSG] .php extension

2005-01-25 Thread csslist
 BTW surely you are not suggesting that Coldfusion is a serious competitor for PHP5? - not one for this list though? :-)  a serious competitor? haha php wont catch up to coldfusions user base for a long time and that probably wont happen at all unless php takes on an underlying structure from either java or .net. last stats i saw cfm was pretty far infront an quite honestly the only real reason i have heard anyone say they dont use cfm is the cost and for most of us there really is no cost unless ur building an enterprised sized app then the $1200 is far a bargain in time saved programming and if it is a enterprised app it most likely wont be done in php anyway. i dont see how u can compare php to cfm at all, especially not power wise now that cfm has a j2ee backbone and can run jsp tags right and has all that java power to run on not to mention all the new goodies in blackstone (flash forms, reporting, sms, 1 tag codes for pdf or flashpaper output, etc...)  so usually it comes down to basically ppl being severely under-informed about coldfusion. not to mention cfm & flash run hand in hand together, whoo hoo  and u dont have to rely on someones cruddy programming and hacks for things such as amfphp when its built into cfm  but to each his own :)  From: "Peter Goddard" <[EMAIL PROTECTED]>Sent: Tuesday, January 25, 2005 3:43 AMTo: wsg@webstandardsgroup.orgSubject: SPAM-LOW: RE: [WSG] .php extensionIf your host has set up Apache correctly, naming the file anything.phpshould enable you to view it in your browser. Do you have Apache installed on your development machine? Does the file work there? Have you got the same Apache version as your host? Have you got the same version of PHP as your host?Could you provide a link to the source code?Have you tried posting to one of the excellent php forums - (egSitepoint.com)The chances are that your host is running Apache 1.3. with PHP4.BTW surely you are not suggesting that Coldfusion is a seriouscompetitor for PHP5? - not one for this list though? :-)Hope this helpsPeter-Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] OnBehalf Of csslistSent: 20 January 2005 22:47To: wsg@webstandardsgroup.orgSubject: Re: [WSG] .php extensionis the page titled index.php or default.php?if so then u need to have the host set up your site to look for eitherone by default and also flush the cashu should also take a look at coldfusion ;)-- Original Message --From: Bruce Reply-To: wsg@webstandardsgroup.orgDate: Thu, 20 Jan 2005 13:30:45 -0500>Paul wrote:>>>I have a template that I have created and am creating all my pagesfrom>>that. I have named this file x.html but when I try and rename it to>>x.php, because I have some dynamic content on it, nothing displays.Any>>ideas why this happens ?Paul>> This may sound dumb, but I switched to php a few times, if you don't >delete the old html file the browser will pick that up instead. But I'm>sure you thought of that :-)>Bruce Prochnau>www.bkdesign.ca>**>The discussion list for http://webstandardsgroup.org/>> See http://webstandardsgroup.org/mail/guidelines.cfm> for some hints on posting to the list & getting help>**>> **The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting helpThe discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help**


RE: [WSG] .php extension

2005-01-25 Thread Peter Goddard
If your host has set up Apache correctly, naming the file anything.php
should enable you to view it in your browser. 

Do you have Apache installed on your development machine? 
Does the file work there? 
Have you got the same Apache version as your host? 
Have you got the same version of PHP as your host?
Could you provide a link to the source code?
Have you tried posting to one of the excellent php forums - (eg
Sitepoint.com)

The chances are that your host is running Apache 1.3. with PHP4.

BTW surely you are not suggesting that Coldfusion is a serious
competitor for PHP5? - not one for this list though? :-)

Hope this helps

Peter



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of csslist
Sent: 20 January 2005 22:47
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] .php extension

is the page titled index.php or default.php?
if so then u need to have the host set up your site to look for either
one by default and also flush the cash

u should also take a look at coldfusion ;)


-- Original Message --
From: Bruce <[EMAIL PROTECTED]>
Reply-To: wsg@webstandardsgroup.org
Date:  Thu, 20 Jan 2005 13:30:45 -0500

>Paul wrote:
>
>>I have a template that I have created and am creating all my pages
from
>>that. I have named this file x.html but when I try and rename it to
>>x.php, because I have some dynamic content on it, nothing displays.
Any
>>ideas why this happens ?
>>
>>Paul
>>  
>>
>
>This may sound dumb, but I switched to php a few times, if you don't 
>delete the old html file the browser will pick that up instead. But I'm

>sure you thought of that :-)
>Bruce Prochnau
>www.bkdesign.ca
>**
>The discussion list for  http://webstandardsgroup.org/
>
> See http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
>**
>
>
 
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



Re: [WSG] .php extension

2005-01-20 Thread David R
csslist wrote:
is the page titled index.php or default.php?
if so then u need to have the host set up your site to look for either one by 
default and also flush the cash
u should also take a look at coldfusion ;)
Apache has index.html/php as the default document, IIS opts for 
"default.htm/asp/aspx"

Both of these can easily be overrriden, however.
ColdFusion works in a similar (and simpler) way to ASP.Net's 
Server-Controls, in that you sacrifice control over the exported HTML in 
exchange of ease-of-development.

The difference in DotNet being that its easier to create your own controls
--
-David R
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**


CLOSED Re: [WSG] .php extension

2005-01-20 Thread James Ellis
Hi

This list is not the place to discuss set up and configuration of
server side scripting languages. Please review the mail list
guidelines prior to posting.

"Discussion of server-side scripting beyond that directly involved
with Web Standards"

Regards
James
---
admin


On Thu, 20 Jan 2005 17:47:13 -0500, csslist <[EMAIL PROTECTED]> wrote:
> is the page titled index.php or default.php?
> if so then u need to have the host set up your site to look for either one by 
> default and also flush the cash
> 
> u should also take a look at coldfusion ;)
> 
> 
> -- Original Message --
> From: Bruce <[EMAIL PROTECTED]>
> Reply-To: wsg@webstandardsgroup.org
> Date:  Thu, 20 Jan 2005 13:30:45 -0500
> 
> >Paul wrote:
> >
> >>I have a template that I have created and am creating all my pages from
> >>that. I have named this file x.html but when I try and rename it to
> >>x.php, because I have some dynamic content on it, nothing displays. Any
> >>ideas why this happens ?
> >>
> >>Paul
> >>
> >>
> >
> >This may sound dumb, but I switched to php a few times, if you don't
> >delete the old html file the browser will pick that up instead. But I'm
> >sure you thought of that :-)
> >Bruce Prochnau
> >www.bkdesign.ca
> >**
> >The discussion list for  http://webstandardsgroup.org/
> >
> > See http://webstandardsgroup.org/mail/guidelines.cfm
> > for some hints on posting to the list & getting help
> >**
> >
> >
> 
> **
> The discussion list for  http://webstandardsgroup.org/
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> **
> 
>
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



Re: [WSG] .php extension

2005-01-20 Thread csslist
is the page titled index.php or default.php?
if so then u need to have the host set up your site to look for either one by 
default and also flush the cash

u should also take a look at coldfusion ;)


-- Original Message --
From: Bruce <[EMAIL PROTECTED]>
Reply-To: wsg@webstandardsgroup.org
Date:  Thu, 20 Jan 2005 13:30:45 -0500

>Paul wrote:
>
>>I have a template that I have created and am creating all my pages from
>>that. I have named this file x.html but when I try and rename it to
>>x.php, because I have some dynamic content on it, nothing displays. Any
>>ideas why this happens ?
>>
>>Paul
>>  
>>
>
>This may sound dumb, but I switched to php a few times, if you don't 
>delete the old html file the browser will pick that up instead. But I'm 
>sure you thought of that :-)
>Bruce Prochnau
>www.bkdesign.ca
>**
>The discussion list for  http://webstandardsgroup.org/
>
> See http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
>**
>
>
 
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



Re: [WSG] .php extension

2005-01-20 Thread Kornel Lesinski
On Thu, 20 Jan 2005 14:48:49 -0330, Paul <[EMAIL PROTECTED]> wrote:
I am on a hosted site, where would I find that file? Other .php pages
display just not this one.
Then you have some fatal error on your page, but server has disabled error  
display.

See it using such php file:

include('your_fatal_file.php'); // change that
?>
--
regards, Kornel Lesiński
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**


Re: [WSG] .php extension

2005-01-20 Thread Bruce
Paul wrote:
I have a template that I have created and am creating all my pages from
that. I have named this file x.html but when I try and rename it to
x.php, because I have some dynamic content on it, nothing displays. Any
ideas why this happens ?
Paul
 

This may sound dumb, but I switched to php a few times, if you don't 
delete the old html file the browser will pick that up instead. But I'm 
sure you thought of that :-)
Bruce Prochnau
www.bkdesign.ca
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**


Re: [WSG] .php extension

2005-01-20 Thread David R
Alternativly, if you're running IIS, the ISAPI bindings are on the 
ISAPI-Extensions tab of the Dir/Virtual property sheet. You can also 
manage these from the Site property sheets.

--
-David R
Dave Elkan wrote:
You have to edit your httpd.conf file to process files of  the .html 
suffix.

Look for the line:
AddType application/x-httpd-php .php
make it:
AddType application/x-httpd-php .html .php
Easy!!
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**


RE: [WSG] .php extension

2005-01-20 Thread Paul
I am on a hosted site, where would I find that file? Other .php pages
display just not this one.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Elkan
Sent: Thursday, January 20, 2005 2:20 PM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] .php extension


You have to edit your httpd.conf file to process files of  the .html
suffix.

Look for the line:
AddType application/x-httpd-php .php

make it:
AddType application/x-httpd-php .html .php

Easy!!

~Dave

Paul wrote:

>I have a template that I have created and am creating all my pages from

>that. I have named this file x.html but when I try and rename it to 
>x.php, because I have some dynamic content on it, nothing displays. Any

>ideas why this happens ?
>
>Paul
>
>-Original Message-
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

>Behalf Of Brian Cummiskey
>Sent: Wednesday, January 19, 2005 11:12 AM
>To: wsg@webstandardsgroup.org
>Subject: Re: [WSG] Help - newbie
>
>
>Paul wrote:
>  
>
>>I have been writing html code for awhile now and and starting to
>>realize
>>how inaccessible and non-web compliant my pages are. I have always
>>
>>
>hand
>  
>
>>written code in Edit Plus 2, is there a better editor I can use for
>>
>>
>web
>  
>
>>standards ( like Dreamweaver MX ? ) and where should I start for tips
>>
>>
>on
>  
>
>>accessibility and standards compliance.
>> 
>>Thanks for any help.
>>Paul
>>
>>
>
>The editor doesn't make you write bad code--  you do :)  I use edit
>plus2 for all of my dev work, and 99% of it is valid xhtml/css.  the 
>last 1% is because i'm on an MS system at work, and we all know how 
>sometimes, theres just no way to "do it right" and serve a 99.9995% IE6

>audience.
>**
>The discussion list for  http://webstandardsgroup.org/
>
> See http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
>**
>
>
>**
>The discussion list for  http://webstandardsgroup.org/
>
> See http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
>**
>
>
>
>
>  
>
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



Re: [WSG] .php extension

2005-01-20 Thread Carmelyne Thompson




Paul

Are you viewing this php file on your development computer that is not
on a web server?

Check the  tags too. I am not really sure what you have
going but just throwing off ideas :)
-- 
Carmelyne Thompson
Web Architect/Developer


Paul wrote:

  I have a template that I have created and am creating all my pages from
that. I have named this file x.html but when I try and rename it to
x.php, because I have some dynamic content on it, nothing displays. Any
ideas why this happens ?

Paul

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of Brian Cummiskey
Sent: Wednesday, January 19, 2005 11:12 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Help - newbie


Paul wrote:
  
  
I have been writing html code for awhile now and and starting to 
realize
how inaccessible and non-web compliant my pages are. I have always

  
  hand 
  
  
written code in Edit Plus 2, is there a better editor I can use for

  
  web 
  
  
standards ( like Dreamweaver MX ? ) and where should I start for tips

  
  on 
  
  
accessibility and standards compliance.
 
Thanks for any help.
Paul

  
  
The editor doesn't make you write bad code--  you do :)  I use edit 
plus2 for all of my dev work, and 99% of it is valid xhtml/css.  the 
last 1% is because i'm on an MS system at work, and we all know how 
sometimes, theres just no way to "do it right" and serve a 99.9995% IE6 
audience.
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**



  






Re: [WSG] .php extension

2005-01-20 Thread Dave Elkan
You have to edit your httpd.conf file to process files of  the .html suffix.
Look for the line:
AddType application/x-httpd-php .php
make it:
AddType application/x-httpd-php .html .php
Easy!!
~Dave
Paul wrote:
I have a template that I have created and am creating all my pages from
that. I have named this file x.html but when I try and rename it to
x.php, because I have some dynamic content on it, nothing displays. Any
ideas why this happens ?
Paul
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Brian Cummiskey
Sent: Wednesday, January 19, 2005 11:12 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Help - newbie
Paul wrote:
 

I have been writing html code for awhile now and and starting to 
realize
how inaccessible and non-web compliant my pages are. I have always
   

hand 
 

written code in Edit Plus 2, is there a better editor I can use for
   

web 
 

standards ( like Dreamweaver MX ? ) and where should I start for tips
   

on 
 

accessibility and standards compliance.
Thanks for any help.
Paul
   

The editor doesn't make you write bad code--  you do :)  I use edit 
plus2 for all of my dev work, and 99% of it is valid xhtml/css.  the 
last 1% is because i'm on an MS system at work, and we all know how 
sometimes, theres just no way to "do it right" and serve a 99.9995% IE6 
audience.
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**
**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**

 

**
The discussion list for  http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
**


[WSG] .php extension

2005-01-20 Thread Paul
I have a template that I have created and am creating all my pages from
that. I have named this file x.html but when I try and rename it to
x.php, because I have some dynamic content on it, nothing displays. Any
ideas why this happens ?

Paul

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Brian Cummiskey
Sent: Wednesday, January 19, 2005 11:12 AM
To: wsg@webstandardsgroup.org
Subject: Re: [WSG] Help - newbie


Paul wrote:
> I have been writing html code for awhile now and and starting to 
> realize
> how inaccessible and non-web compliant my pages are. I have always
hand 
> written code in Edit Plus 2, is there a better editor I can use for
web 
> standards ( like Dreamweaver MX ? ) and where should I start for tips
on 
> accessibility and standards compliance.
>  
> Thanks for any help.
> Paul

The editor doesn't make you write bad code--  you do :)  I use edit 
plus2 for all of my dev work, and 99% of it is valid xhtml/css.  the 
last 1% is because i'm on an MS system at work, and we all know how 
sometimes, theres just no way to "do it right" and serve a 99.9995% IE6 
audience.
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
**