Results 1 to 4 of 4

Thread: index .Html & php ?
      
   

  1. #1
    edlen is offline Staff Sergeant
    Join Date
    May 2006
    Posts
    42

    Question index .Html & php ?

    hi.


    i would like to know what will happen if i was just using only one domain name

    but if i try to make two index pages for that one domain name

    but the only difference is (php) & (html )


    example : index.html & index.php

    what will happen will one canel the other one out or will they both work but only when the html or php is put at the end of the domain name ?

    this is very important to me could someone please let me now?

    Think you.

  2. #2
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: index .Html & php ?

    Very good question? Don't exactly know the answer-but...

    Why the need? Keep in mind that you can have php within an html page and it will work. If your index were php then I assume that you would be asking it to perform a function and then once done- would be directed to another page. So- to help you best, would need to know what you are attempting to do.

    Andy
    PHP- is a blast!

  3. #3
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: index .Html & php ?

    The index.php page will not overwritte the index.html page or viceversa.Yes, if you type it in the address bar www.yourdomain.com/index.php the php page will come up. If you simply type www.yourdomain.com or www.yourdomain.com/index.html the html page will come up.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  4. #4
    edlen is offline Staff Sergeant
    Join Date
    May 2006
    Posts
    42

    Question Re: index .Html & php ?

    Quote Originally Posted by navaldesign
    The index.php page will not overwritte the index.html page or viceversa.Yes, if you type it in the address bar www.yourdomain.com/index.php the php page will come up. If you simply type www.yourdomain.com or www.yourdomain.com/index.html the html page will come up.
    Think you both

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49