Need help with Proxy PHP

Discussion in 'PHP' started by LemonAden, Dec 7, 2006.

  1. #1
    hey there. I had a friend help me with the free php proxy code and putting it into my new domain when i finished all of my graphics. Its in there and looks great, but its not searching when you try to search. Can someone check it out and let me know what to do, or help me fix it?

    www.sneakspace.com

    Thanks in advance
     
    LemonAden, Dec 7, 2006 IP
  2. matthewrobertbell

    matthewrobertbell Peon

    Messages:
    781
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #2
    PHP proxy is, in my opinion, rubbish. Try using CGI proxy instead, many more features!
     
    matthewrobertbell, Dec 8, 2006 IP
  3. LemonAden

    LemonAden Peon

    Messages:
    308
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I want to use CGI.. but i heard that dreamhost will kick me if i use too much bandwith.. isnt php far less bandwith than cgi?
     
    LemonAden, Dec 8, 2006 IP
  4. matthewrobertbell

    matthewrobertbell Peon

    Messages:
    781
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Well a proxy downloads all the data from a website, then send it to the user, so same amount of bandwidth no matter what the programming language. Also, cgi proxy provides proper support for forms etc, which is useful for Myspace. Dreamhost gives 2TB bandwidth / month, so running a proxy there is entirely possible ;)
     
    matthewrobertbell, Dec 8, 2006 IP
  5. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #5
    php is using the most bandwith, extremely much more than cgi. cgi is using a lot of server resources, to much for a normal server.
    Are you shure dreamhost will host your proxy at all ? I dont think so, when they find out they will kick you off.
     
    login, Dec 8, 2006 IP
  6. matthewrobertbell

    matthewrobertbell Peon

    Messages:
    781
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #6
    As long as php isn't requesting the page multiple times or something silly, surely it will use the same bandwidth? And with Dreamhost, as long as you don't adversely affect other users on your shared server, you can do what you like.
     
    matthewrobertbell, Dec 8, 2006 IP
  7. LemonAden

    LemonAden Peon

    Messages:
    308
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    alright.. Well can someone point me in the direction of the right CGI script.
     
    LemonAden, Dec 8, 2006 IP
  8. matthewrobertbell

    matthewrobertbell Peon

    Messages:
    781
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #8
    !st result when you search for "cgi proxy" on google. I can help install if you want.
     
    matthewrobertbell, Dec 8, 2006 IP
    LemonAden likes this.
  9. LemonAden

    LemonAden Peon

    Messages:
    308
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #9
    yeah, that would be amazing! :) I will get it and PM you
     
    LemonAden, Dec 8, 2006 IP
  10. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #10
    install.xav.com
     
    krakjoe, Dec 8, 2006 IP
  11. LemonAden

    LemonAden Peon

    Messages:
    308
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #11
    got it running and set up thanks to matthew! thanks man!
     
    LemonAden, Dec 8, 2006 IP
  12. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #12
    Good luck :) be ready with another server when you get thrown of dreamhost:)
     
    login, Dec 8, 2006 IP
  13. LemonAden

    LemonAden Peon

    Messages:
    308
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #13
    haha. i wont mind being thrown from dreamhost. they wont do it until the site starts getting crazy hits so i am not worried. when the time comes, i will transfer.
     
    LemonAden, Dec 8, 2006 IP
  14. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #14
    No, its not a dissaster to get thrown of dreamhost hehe. But its a dissater when you loose the 500 uniques a day because the server is down and you have to work from scratch again. You will know what I mean when you are there :)
     
    login, Dec 8, 2006 IP
  15. LemonAden

    LemonAden Peon

    Messages:
    308
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #15
    they will throw me out for 500 uniques a day? thats BS
     
    LemonAden, Dec 8, 2006 IP
  16. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #16
    Lets wait and see, I am just trying to give you a good advice.
     
    login, Dec 8, 2006 IP