HTML or PHP ????

Discussion in 'Software' started by mastermosley, Aug 22, 2005.

  1. mastermosley

    mastermosley Sergeant

    Ok, if i have a index.php and index.html which one will open first. Like say my domain was www.blala.com which will it go to the html or the php. I ask this because I have a site and a forums on one server and I cant change the index.php to something else because then i'd have to edit the template.
     
  2. goldfish

    goldfish Lt. Sushi.DC

    Depends how the server is configured! It totally depends upon how the admin set up the webserver settings... they may have put .php to be top prioirty (first) or last. Likely if they built in PHP after they initially compiled/installed the server , it'll be after .html.

    Only way is a test!

    But really, you don't want to be doing such a thing. You'd want to put the index.php in a different directory, like /forum or somthing like that. That way you don't have to rely on somone elses config to get the result you want!
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds