Php in Blogspot

Discussion in 'PHP' started by iranjit00, Feb 18, 2011.

  1. #1
    I need to add Php in blogspot to make it more dynamic. Is it possible to add php to blogspot? Can you please provide some solution to it?
     
    iranjit00, Feb 18, 2011 IP
  2. ThomasTwen

    ThomasTwen Peon

    Messages:
    113
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    As far as I know, it is not possible to include PHP in your blogspot blog. You might want to describe your problem to us - there is certainly another way to do it.
     
    ThomasTwen, Feb 20, 2011 IP
  3. srisen2

    srisen2 Peon

    Messages:
    359
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    if you are using wordpress you would need to find a plugin to do this for you
     
    srisen2, Feb 22, 2011 IP
  4. ap2010

    ap2010 Guest

    Messages:
    41
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No you cannot use PHP scripts inside blogspot blog. You can if you're using wordpress but still you cannot do this on the blogs hosted on wordpress.com website. Wordpress is built using PHP so using your custom PHP code inside it should not be a problem.
     
    ap2010, Mar 3, 2011 IP
  5. Mike Griffiths

    Mike Griffiths Peon

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    PHP is serverside, that means it would need the server hosting your blog (Google's/Blogspot's) to have PHP running, and to allow you to use it. They have neither.

    Pretty sure Blogspot is written in Python, but you won't be able to code in that either, it's for posting blogs, not for running scripts.

    You could potentially have an iFrame that links to another server with your PHP script on, but it does drastically depend on what it is you're trying to do. "Make it more dynamic" is a little vague.
     
    Mike Griffiths, Mar 4, 2011 IP
  6. eleetgeek

    eleetgeek Peon

    Messages:
    129
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If PHP runs on blogspot, hehe...
    It means, blogspot is giving FULL access to you. There are MANY (dirty) things that can be done if user gets server-side scripting privileges.
    NEVER! - is the short answer :)
     
    eleetgeek, Mar 4, 2011 IP