Designing a proxy site

Discussion in 'HTML & Website Design' started by Defining Obscene, Aug 27, 2007.

  1. #1
    I decided to start a new site, it is my first time so bear with me.


    I started on the cosmetics, here is a quick screenshot from the index on my computer (should explain the odd looking adsense).

    http://img2.imagetitan.com/img.php?image=5_screenshot429.jpg


    I designed the logo and the banner picture. I'm not sure how I'll design any other pages just yet. But I'm having trouble inserting the proxy php codes. I downloaded a proxy php package (at the bottom) of this site:
    http://www.phproxy.org

    I'm not sure what coding I need to use, and where to put the coding included in that zip. If anyone has any advice on this it is welcomed. Like I said, this is my first site, I started it yesterday with very basic html knowledge.
     
    Defining Obscene, Aug 27, 2007 IP
  2. anarmyofme

    anarmyofme Well-Known Member

    Messages:
    1,136
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    130
    #2
    You may have already done so, but just make sure your server can handle php.

    Where are you in the process? Have you uploaded all your files to your server?
     
    anarmyofme, Aug 31, 2007 IP
  3. Defining Obscene

    Defining Obscene Peon

    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ah yes. I have uploaded the site and everything is working now but I'm getting 1 small error.

    It says,
    This error shows up as text right above my proxy box. Does anyone know how to fix this?
     
    Defining Obscene, Aug 31, 2007 IP
  4. James.Blant

    James.Blant Active Member

    Messages:
    250
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #4
    you can't send output on browser before using header(); php command .
    check your file and place header function on top of your code or move other codes with output under header() function .
     
    James.Blant, Sep 1, 2007 IP
  5. Defining Obscene

    Defining Obscene Peon

    Messages:
    78
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm not sure I understand this. The header (<ul> tag) on my index.php is in html, not php code. I tried putting the header() on the errored line in phproxy.class.php but its not working. I'm not sure where I need to put it.
     
    Defining Obscene, Sep 1, 2007 IP
  6. James.Blant

    James.Blant Active Member

    Messages:
    250
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #6
    phpproxy.class does not have problem.you should check index.php

    what is your editor ? what is your encoding of your index?
     
    James.Blant, Sep 2, 2007 IP