+ Reply to Thread
Results 1 to 6 of 6

Thread: help me plz,, any one change my html file to php

  1. #1
    hackking is offline x10Hosting Member hackking is an unknown quantity at this point
    Join Date
    Jul 2008
    Posts
    43

    help me plz,, any one change my html file to php

    my this http://deepak.elementfx.com/love-guru/ page
    can you change it to php for me??
    or tell me how can i change it

  2. #2
    AttackBunnyPro is offline x10Hosting Member AttackBunnyPro is an unknown quantity at this point
    Join Date
    Jul 2008
    Posts
    26

    Re: help me plz,, any one change my html file to php

    Rename the file to end with .php

  3. #3
    Afterburn's Avatar
    Afterburn is offline Guest Afterburn is an unknown quantity at this point
    Join Date
    Jul 2006
    Posts
    149

    Re: help me plz,, any one change my html file to php

    If you page file is named: index.html or index.htm

    Just rename the file: index.php

    After you do that, you will be able to use php coding in it easily with using php tags:

    PHP Code:
    <?php
    echo "";
    ?>
    Last edited by Afterburn; 10-13-2008 at 12:17 AM.

  4. #4
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: help me plz,, any one change my html file to php

    Quote Originally Posted by AttackBunnyPro View Post
    Rename the file to end with .php
    LOL - I love posts like this!

  5. #5
    hackking is offline x10Hosting Member hackking is an unknown quantity at this point
    Join Date
    Jul 2008
    Posts
    43

    Re: help me plz,, any one change my html file to php

    plz,, bor tell me how to
    help me dude
    thanx

  6. #6
    freecrm's Avatar
    freecrm is offline x10 Elder freecrm is an unknown quantity at this point
    Join Date
    May 2008
    Location
    UK
    Posts
    629

    Re: help me plz,, any one change my html file to php

    Quote Originally Posted by hackking View Post
    plz,, bor tell me how to
    help me dude
    thanx
    OK - this obviously has to be simpler.

    Firstly, you have to understand that pure html or htm files do not have any programming embedded in them.

    These will have file endings like index.html or index.htm etc.

    php files are usually just html files with php code embedded in them. But in order for the php programming to run, the extension of the filename needs to be .php

    Sooo....

    Looking at your file (say index.htm), just rename the file by right-clicking and changing just the end so index.htm becomes index.php

    That simple!

    You then need to put some php language into it.

    A simple test could be:

    PHP Code:
    <?php echo "This is a test!";?>
    or, if you want to see information about the php version you are working with, try..

    PHP Code:
    <?php
    phpinfo
    ();
    ?>
    I think this is as simple as I can make it!

+ Reply to Thread

Similar Threads

  1. PHP version + max file size limit
    By tipsyman in forum Free Hosting
    Replies: 3
    Last Post: 02-27-2008, 01:04 PM
  2. Replies: 8
    Last Post: 12-03-2007, 04:12 PM
  3. php version
    By loveispoison in forum Free Hosting
    Replies: 10
    Last Post: 11-21-2007, 10:53 AM
  4. Max php file upload - how to adjust
    By phixer in forum Free Hosting
    Replies: 1
    Last Post: 10-07-2007, 09:15 PM
  5. "PHP Startup: Invalid Library" - Interesting error
    By javaguy78 in forum Free Hosting
    Replies: 5
    Last Post: 03-27-2007, 02:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers