file_get_contents on HTML

Discussion in 'HTML & Website Design' started by SEOutrank, Dec 16, 2009.

  1. #1
    Hi guys,

    I need to know how to implement the PHP function file_get_contents on a server that only allows JS, HTML and XHTML.

    Simply stated, I need the code or a workaround of PHP file_get_contents on HTML.

    Any input would be appreciated. :)

    ADDED Info:

    I can't modify / add anything on the host/server. The only thing I can do is to embed codes and add html/js widgets.
     
    SEOutrank, Dec 16, 2009 IP
  2. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #2
    There isn't a work around, as it requires server side technology. There's plenty of free hosting that allows php tho.

    Glen
     
    HuggyStudios, Dec 16, 2009 IP
  3. LeetPCUser

    LeetPCUser Peon

    Messages:
    711
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Agreed. I was trying to find some extra information if there was a super complex way of doing it in JavaScript, but there is not. Learning PHP is VERY handy.
     
    LeetPCUser, Dec 16, 2009 IP