#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Posts
    1
    Rep Power
    0
    With the advent of php4, which extension should we use. A lot of php3 pages use the .php3 extension, but by deafault the extension in the apache httpd.conf is .php. Should we just adapt .php4 or use .php to make sure future upgrades don't cause any issues with already existing code. I would welcome any thoughts.

    ------------------
    Scott G. Lewis
    @ @
    (
    (~)
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    Add .php3 to your list (for backwards compatibility) but use .php on all new scripts.

    Just my $.02

Similar Threads

  1. .php files open the download box :(((
    By Dragons Master in forum Apache Development
    Replies: 0
    Last Post: December 23rd, 2003, 11:45 AM
  2. Looking for a certain .php script
    By DrClarke in forum PHP Development
    Replies: 3
    Last Post: September 7th, 2001, 03:48 AM
  3. .php or .php3
    By pgowder in forum PHP Development
    Replies: 2
    Last Post: May 24th, 2001, 11:31 AM
  4. .php 500 BUT .php4 -> script
    By moyashi in forum PHP Development
    Replies: 2
    Last Post: February 11th, 2001, 10:10 PM
  5. .php parsed but not .php3?
    By astrix in forum PHP Development
    Replies: 1
    Last Post: July 27th, 2000, 10:27 PM

IMN logo majestic logo threadwatch logo seochat tools logo