1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Why PHP is best??

Discussion in 'HTML & Website Design' started by depthirajan, Aug 19, 2011.

  1. #1
    Most of us prefer PHP is best coding for websites... Can you tell me the reason why PHP is best????
     
    depthirajan, Aug 19, 2011 IP
  2. ColorWP.com

    ColorWP.com Notable Member

    Messages:
    3,121
    Likes Received:
    100
    Best Answers:
    1
    Trophy Points:
    270
    #2
    It's easy to learn, has extensive documentation, doesn't require much configuration to install and run.

    For example, you don't have to define a variable to use it in your script. You can refer to it directly and it's automatically created.

    If you are new to PHP I suggest you read some of my snippets at ePHP and if you are experiencing problems in your scripting journey feel free to post in my free PHP help thread.
     
    ColorWP.com, Aug 19, 2011 IP
  3. subdivisions

    subdivisions Well-Known Member

    Messages:
    1,021
    Likes Received:
    40
    Best Answers:
    1
    Trophy Points:
    145
    #3
    Easy to learn, easy to use, and it's on every server and hosting account.

    If you want to step up to something more powerful and advanced, look at Python with Django.
     
    subdivisions, Aug 19, 2011 IP
  4. xenon121

    xenon121 Active Member

    Messages:
    696
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #4
    peopl use php as far as i know it is very tough to hack your site if your site is in php.
     
    xenon121, Aug 19, 2011 IP
  5. subdivisions

    subdivisions Well-Known Member

    Messages:
    1,021
    Likes Received:
    40
    Best Answers:
    1
    Trophy Points:
    145
    #5
    It's actually pretty easy to hack PHP code, because a lot of things need to be manually secured. (real_escape_string, strip_tags, etc)
     
    subdivisions, Aug 19, 2011 IP
  6. ApocalypseXL

    ApocalypseXL Notable Member

    Messages:
    6,095
    Likes Received:
    103
    Best Answers:
    5
    Trophy Points:
    240
    #6
    It's not the best ASP . NET will murder it with ease but ASP is for pros so PHP is the usual choice .
     
    ApocalypseXL, Aug 20, 2011 IP
  7. karthimx

    karthimx Prominent Member

    Messages:
    4,959
    Likes Received:
    127
    Best Answers:
    2
    Trophy Points:
    340
    #7
    Because PHP coding can not be seen after the website renders. We can only see the html in output. So your code will be hidden.
     
    karthimx, Aug 20, 2011 IP
  8. subdivisions

    subdivisions Well-Known Member

    Messages:
    1,021
    Likes Received:
    40
    Best Answers:
    1
    Trophy Points:
    145
    #8
    As is the case with all server side languages.
     
    subdivisions, Aug 20, 2011 IP
  9. karthimx

    karthimx Prominent Member

    Messages:
    4,959
    Likes Received:
    127
    Best Answers:
    2
    Trophy Points:
    340
    #9
    Its less complex and easy to learn. Also its Open source.
     
    karthimx, Aug 20, 2011 IP
  10. mathewmeconry

    mathewmeconry Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    its easy to learn, to use and is much fun ^^
     
    mathewmeconry, Aug 20, 2011 IP
  11. Ragu_007

    Ragu_007 Well-Known Member

    Messages:
    1,134
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    100
    #11
    Php is easy to use.
     
    Ragu_007, Aug 20, 2011 IP
  12. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #12
    Because of the elePHPants

    [​IMG]
     
    Kerosene, Aug 21, 2011 IP
  13. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #13
    Can't you figure that out for yourself? After all, you are a user! But you come here to ask others how you feel about it?! Can't you think for yourself?
     
    drhowarddrfine, Aug 21, 2011 IP
  14. depthirajan

    depthirajan Peon

    Messages:
    149
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I think so due to this discussion some persons will get some more ideas...
     
    depthirajan, Aug 22, 2011 IP
  15. raminn

    raminn Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    - PHP is free and opened source.
    - PHP code can be written and debuged with free tools most of the time.
    - The script can run on Linux servers which are more cost effective than windoes servers.

    The popularity of PHP, comes from cost effectivity and freeness.
     
    Last edited: Aug 22, 2011
    raminn, Aug 22, 2011 IP
  16. Wad!e

    Wad!e Member

    Messages:
    132
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    40
    #16
    Then PHP is not the problem,but you,the programmer,is the problem here if he doesn't know how to secure his code.
     
    Wad!e, Aug 22, 2011 IP
  17. bliksem

    bliksem Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    It is NOT the best web language, but it is widely supported by web hosting and the learning curve is short.
     
    bliksem, Aug 22, 2011 IP
  18. fofoo0

    fofoo0 Peon

    Messages:
    68
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #18
    Well, the most important reason might be that PHP is an OpenSource scripting language and secondly PHP is easy to learn and use and is PHP coding is less complex.
     
    fofoo0, Aug 23, 2011 IP
  19. depthirajan

    depthirajan Peon

    Messages:
    149
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #19
    Thank you.. If i use PHP means it will be safe or Its easy to hack by some one ..
     
    depthirajan, Aug 24, 2011 IP
  20. depthirajan

    depthirajan Peon

    Messages:
    149
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #20
    Thank you,, in previous comments they told PHP can hack easily... What you telling about this????
     
    depthirajan, Aug 24, 2011 IP