php-general Digest 2 Jan 2011 16:52:44 -0000 Issue 7112

2011-01-02 Thread php-general-digest-help
php-general Digest 2 Jan 2011 16:52:44 - Issue 7112 Topics (messages 310442 through 310449): Re: Regex for ... genealogical names 310442 by: Al Newbie Question 310443 by: Adolfo Olivera 310444 by: Joshua Kehn 310445 by: David Robley 310446 by: Joshua

RE: [PHP] Newbie Question

2011-01-02 Thread admin
Add this to your .htaccess file and HTML files will be handled like PHP files allowing you put PHP in HTML files. AddType application/x-httpd-php .html Richard L. Buskirk -Original Message- From: Adolfo Olivera [mailto:olivera.ado...@gmail.com] Sent: Saturday, January 01, 2011 8:38 PM

RE: [PHP] Newbie Question

2011-01-02 Thread Ashley Sheridan
On Sun, 2011-01-02 at 11:48 -0500, ad...@buskirkgraphics.com wrote: Add this to your .htaccess file and HTML files will be handled like PHP files allowing you put PHP in HTML files. AddType application/x-httpd-php .html Richard L. Buskirk -Original Message- From: Adolfo

Re: [PHP] Newbie Question

2011-01-02 Thread Joshua Kehn
On Jan 2, 2011, at 11:48 AM, ad...@buskirkgraphics.com wrote: Add this to your .htaccess file and HTML files will be handled like PHP files allowing you put PHP in HTML files. AddType application/x-httpd-php .html Richard L. Buskirk I would not recommend this approach, some perfectly

RE: [PHP] Newbie Question

2011-01-02 Thread admin
The question was The .php extension is a requirement? The answer is no. While me and Ash may completely disagree on the php parser, the simple answer is there are many ways around running a non .php extension file in php. mod_rewrite rules in .htaccess files are interpreted for each request

Re: [PHP] Newbie Question

2011-01-02 Thread Joshua Kehn
On Jan 2, 2011, at 12:50 PM, ad...@buskirkgraphics.com wrote: The question was The .php extension is a requirement? The answer is no. While me and Ash may completely disagree on the php parser, the simple answer is there are many ways around running a non .php extension file in php.

Re: [PHP] Newbie Question

2011-01-02 Thread Adam Richardson
On Sun, Jan 2, 2011 at 12:16 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Sun, 2011-01-02 at 11:48 -0500, ad...@buskirkgraphics.com wrote: Add this to your .htaccess file and HTML files will be handled like PHP files allowing you put PHP in HTML files. AddType

Re: [PHP] Newbie Question

2011-01-02 Thread Joshua Kehn
On Jan 2, 2011, at 1:17 PM, Adam Richardson wrote: I tend to disagree with Ashley on this topic. For many websites, I'll start out making all pages .php, even if they don't require PHP at the moment. That's for a couple reasons. 1) A few years back, there was certainly a significant

Re: [PHP] Newbie Question

2011-01-02 Thread Adolfo Olivera
Thanks for the replies. I'll just put a php on all my html containing php. A little of topic. Wich IDE are you guys using. I'm sort of in a catch twenty two here. I been alternating vim and dreamweaver. I'm trying to go 100% open source, but I really find dreamweaver easier to use so far. El ene

Re: [PHP] Newbie Question

2011-01-02 Thread Joshua Kehn
On Jan 2, 2011, at 5:56 PM, Adolfo Olivera wrote: Thanks for the replies. I'll just put a php on all my html containing php. A little of topic. Wich IDE are you guys using. I'm sort of in a catch twenty two here. I been alternating vim and dreamweaver. I'm trying to go 100% open source, but

Re: [PHP] Newbie Question

2011-01-02 Thread Larry Garfield
On Sunday, January 02, 2011 4:56:28 pm Adolfo Olivera wrote: Thanks for the replies. I'll just put a php on all my html containing php. A little of topic. Wich IDE are you guys using. I'm sort of in a catch twenty two here. I been alternating vim and dreamweaver. I'm trying to go 100% open

Re: [PHP] Newbie Question

2011-01-02 Thread David McGlone
On Sunday, January 02, 2011 08:43:51 pm Larry Garfield wrote: On Sunday, January 02, 2011 4:56:28 pm Adolfo Olivera wrote: Thanks for the replies. I'll just put a php on all my html containing php. A little of topic. Wich IDE are you guys using. I'm sort of in a catch twenty two here. I