PHP pages vs HTML pages? (for simple sites)

by entry
15 replies
What are the main advantages + Disadvantages (pros and cons) of using PHP pages on your simple sites (sales pages, squeeze pages) comapred to HTML?

which features do PHP pages allow you to do, that HTML don't?
#html #pages #php #simple #sites #webpages
  • Profile picture of the author Istvan Horvath
    For you nothing. Why do you care?

    Now go and set up that sales funnel with one of the scripts discussed in your other thread and start making sales instead of asking smarta$$ questions that are of absolutely no use to you.
    Signature

    {{ DiscussionBoard.errors[2600148].message }}
    • Profile picture of the author entry
      Originally Posted by Istvan Horvath View Post

      For you nothing. Why do you care?

      Now go and set up that sales funnel with one of the scripts discussed in your other thread and start making sales instead of asking smarta$$ questions that are of absolutely no use to you.
      What do you mean why do i care? because I do.

      and whether i care or not doesn't make the question irrelivent! and it doesnt make it of 'no use' to me.

      whats the diff between them both?
      Signature
      I Have to say a Massive...THANK YOU to every Warrior who has helped me, and thanks to every warrior who helps me in the future...
      {{ DiscussionBoard.errors[2600158].message }}
    • Profile picture of the author tpw
      Originally Posted by Istvan Horvath View Post

      For you nothing. Why do you care?

      Now go and set up that sales funnel with one of the scripts discussed in your other thread and start making sales instead of asking smarta$$ questions that are of absolutely no use to you.

      Wow!! That is the first time I ever disagreed with Istvan...

      Unless he is on about something else, which I do strongly suspect... It sounds like the two of you have met before, and you plumb pissed him off... LOL

      He is mostly right though...

      In most cases, the answer to this question really doesn't matter...

      The only thing I would say is that PHP brings some programming capabilities to your pages...

      If you are only building squeeze pages, there is no benefit...

      But if you are building pages that will survive the test of time, I would say to use PHP instead of HTML, because you might want to add functionality to the pages at a later date, and if you have to change the page URL at that time, it could hose your link popularity and age on the page...

      Of course, you could get around this by telling your server in the .htaccess to treat a HTML as if it were a PHP page...
      Signature
      Bill Platt, Oklahoma USA, PlattPublishing.com
      Publish Coloring Books for Profit (WSOTD 7-30-2015)
      {{ DiscussionBoard.errors[2600634].message }}
      • Profile picture of the author Shaun OReilly
        Originally Posted by tpw View Post

        If you are only building squeeze pages, there is no benefit...
        Not necessarily.

        I use php on my lead generation pages and the scripting I
        use allows me to dynamically insert the leadsource, referring
        URL, keywords, etc into the sign-up form in hidden fields in
        the background.

        This allows me to get much more information on my subscribers
        when compared to a standard lead generation page.

        I can also tell the most effective traffic sources and keywords,
        etc.

        And I can also use php to dynamically insert affililate tracking
        so that my affiliates and JV partners get credit for and traffic
        they send to a lead generation page.

        What's better, it all happens in the background thanks to the
        magic of php.

        Dedicated to your success,

        Shaun
        Signature

        .

        {{ DiscussionBoard.errors[2600695].message }}
        • Profile picture of the author tpw
          Originally Posted by Shaun OReilly View Post

          Not necessarily.

          I use php on my lead generation pages and the scripting I
          use allows me to dynamically insert the leadsource, referring
          URL, keywords, etc into the sign-up form in hidden fields in
          the background.

          This allows me to get much more information on my subscribers
          when compared to a standard lead generation page.

          I can also tell the most effective traffic sources and keywords,
          etc.

          And I can also use php to dynamically insert affililate tracking
          so that my affiliates and JV partners get credit for their traffic.

          What's better, it all happens in the background thanks to the
          magic of php.

          Dedicated to your success,

          Shaun

          Great point Shaun... I stand corrected...
          Signature
          Bill Platt, Oklahoma USA, PlattPublishing.com
          Publish Coloring Books for Profit (WSOTD 7-30-2015)
          {{ DiscussionBoard.errors[2600704].message }}
      • Profile picture of the author entry
        Originally Posted by tpw View Post

        Wow!! That is the first time I ever disagreed with Istvan...

        Unless he is on about something else, which I do strongly suspect... It sounds like the two of you have met before, and you plumb pissed him off... LOL

        He is mostly right though...

        In most cases, the answer to this question really doesn't matter...
        When a question is asked by a warrior, why does the following question of "why do you care" have to be asked by anyone?

        whether I am asking many questions to resolve queries i have is my concern and i asked to get the answer.

        Has Istvan forgotten that this forum is for asking questions?

        These questions are of use to me, otherwise I wouldnt have asked them.

        Originally Posted by Istvan Horvath View Post

        Now go and set up that sales funnel with one of the scripts discussed in your other thread and start making sales instead of asking smarta$$ questions that are of absolutely no use to you.
        How can anybody know how i will use the answers to the questions I ask? and whether they are of use to me or not?

        Nobody knows exactly everything I am planning to do in my marketing, do they?
        Signature
        I Have to say a Massive...THANK YOU to every Warrior who has helped me, and thanks to every warrior who helps me in the future...
        {{ DiscussionBoard.errors[2600713].message }}
        • Profile picture of the author tpw
          Originally Posted by entry View Post

          These questions are of use to me, otherwise I wouldnt have asked them.

          Indeed. So did you find the answer you were looking for, later in the thread?
          Signature
          Bill Platt, Oklahoma USA, PlattPublishing.com
          Publish Coloring Books for Profit (WSOTD 7-30-2015)
          {{ DiscussionBoard.errors[2600719].message }}
          • Profile picture of the author koolphoto
            I sometimes create php pages even if I am doing a static html site.

            If I know I am going to be updating the static site often, I will create it as a php site. This way I can use "includes" for things like my navigation menu or anything else I want to easily update site wide.
            Signature

            My name is Ken Katz and I am a Web Designer and Photographer. My motto: "If you really want to do something, you'll find a way. If you don't, you'll find an excuse." -Jim Rohn

            Celebrity Portrait Photgapher - My Photography Portfolio.

            {{ DiscussionBoard.errors[2601714].message }}
          • Profile picture of the author entry
            Originally Posted by tpw View Post

            Indeed. So did you find the answer you were looking for, later in the thread?
            Yep thanks. Its a bit clearer now.
            Signature
            I Have to say a Massive...THANK YOU to every Warrior who has helped me, and thanks to every warrior who helps me in the future...
            {{ DiscussionBoard.errors[2604377].message }}
  • Profile picture of the author pd5009
    I would use HTML if I am building a basic, having less features website. But if it is an advanced, having large feature set, and needs some logical processing too, I would use PHP.
    {{ DiscussionBoard.errors[2600175].message }}
    • Profile picture of the author Martin Avis
      The difference is that PHP is a scripting language and HTML is a display protocol.

      What that means, in essense, is that HTML can only be used to statically display stuff on screen. Nothing else. HTML cannot 'do' anything other than affect the way things appear on a monitor.

      The only, very limited, interactivity that HTML allows is the capture of certain data through form elements such as text boxes, check boxes and radar buttons. However, HTML itself cannot 'do' anything at all with the data it captures other than pass it on to something else.

      That something else is a scripting language such as PHP (or Perl, or javascript among others.)

      The scripting language takes the data that HTML has captured and manipulates it.

      Asking what you what you can do with PHP is a non question. You can do any number of things. It is a very powerful language that has a vast number of functions built in, and an almost infinite number more that a programmer can develop.

      As to which is best between HTML or PHP pages, again, it is a non question - you use the language and the tools to achieve what you want to achieve.

      If you want a static page with no bells and whistles, HTML is your baby.

      If you want a dynamic page that captures data and then serves up different results according to what was initially input, then you need PHP, or a combination of the two.

      The fact that you have to ask does suggest that you may not yet be quite ready for the answer.

      Martin
      Signature
      Martin Avis publishes Kickstart Newsletter - Subscribe free at http://kickstartnewsletter.com
      {{ DiscussionBoard.errors[2600602].message }}
  • Profile picture of the author madno
    if you create a site that include php in it. better for you to use php.
    Signature
    Free Wordpress Landing Page Download it for free. Now you can customize the header and background very easily. One theme with infinite design. Provided with video tutorials.
    {{ DiscussionBoard.errors[2604402].message }}
    • Profile picture of the author Joe Mobley
      entry,

      If I could ask, what do you have in mind? A little background may get you answers more inline with what you're trying to do.


      Joe
      Signature

      .

      Follow Me on Twitter: @daVinciJoe
      {{ DiscussionBoard.errors[2605188].message }}
  • Profile picture of the author oliviayoung02
    HTML is static, PHP is dynamic. PHP allows you to use a database as well as programming in things that will change the page depending on what the user does.

    HTML with Javascript can do some dynamic things but is not secure anyone can change the code so it is not good for e commerce or database activities.

    An html page has a different extension than a PHP page. so it is considered a different page. If you replace page1.htm with page1.php you will lose the PR and all SEO that you did on the html page. You can use htaccess to get around this though.
    {{ DiscussionBoard.errors[2605356].message }}
  • Profile picture of the author Glenn Leader
    I think there's an assumption here that it's either
    HTML or php. The fact is, you can use php in a
    HTML page, and HTML in a php script.

    HTH

    Glenn
    {{ DiscussionBoard.errors[2605987].message }}

Trending Topics