Results 1 to 4 of 4

Thread: PHP code in HTML files
      
   

  1. #1
    barbroberts's Avatar
    barbroberts is offline Sergeant Major
    Join Date
    Feb 2007
    Location
    the beautiful state of Kentucky
    Posts
    91

    Default PHP code in HTML files

    Is it possible to process PHP code in the HTML files (i.e. files with the .html extension) on your servers ?

    Do I need any special instructions?

  2. #2
    Vasili's Avatar
    Vasili is offline Moderator
    Join Date
    Mar 2006
    Posts
    14,174

    Default Re: PHP code in HTML files

    Define specifically the application you are attempting, and the type of foundation (website...as in Blue Voda, Dreamweaver/HTML, scripted as a forum/cart/WP, etc.).
    . VodaWebs....Luxury Group
    * Success Is Potential Realized *

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

    Default Re: PHP code in HTML files

    You can do this ONLY if you create a .htaccess file that will "tell" the server to process files that have the .html as .php files.

    If this is a requirement by the company you purchased the script from, or by your programmer, he will certainly know how to create such a .htaccess file.


    However I don't understand the purpose for this, why shouldn't your pages have the .php extension ?
    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
    barbroberts's Avatar
    barbroberts is offline Sergeant Major
    Join Date
    Feb 2007
    Location
    the beautiful state of Kentucky
    Posts
    91

    Default Re: PHP code in HTML files

    My new shopping cart is AJAX based. The php company provides coding that will enable my store to be indexed. I have asked them to install this for me as it is beyond my ability.

    Hopefully the information you have provided here will give them the necessary guidance. Thank you.

Thread Information

Users Browsing this Thread

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

     

Tags for this Thread

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