403 access denied to execute a external script

Discussion in 'HTML & Website Design' started by swapshop, Oct 25, 2006.

  1. #1
    Our host has stopped any scripts that run locally on our site from executing hence calling external scripts.

    We get a 403 access denied

    for example a amazon script


    Warning: fopen(http://xml.amazon.com/onca/xml3?Key...le=us&mode=books&page=1&t=chipdir&type=lite): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /home/site/public_html/books/amazon/amazon.php on line 254
    Can't get data from Amazon.

    Due to the script atempting to remotely open a xml feed of amazon.

    Our host basically wont assist staying this is to stop hacking which we under stand but hey its killing our sites scripts?

    Any easy way around it apart from rewritting the code?
     
    swapshop, Oct 25, 2006 IP
  2. kip

    kip Notable Member

    Messages:
    1,521
    Likes Received:
    80
    Best Answers:
    0
    Trophy Points:
    205
    #2
    TRY CHMOD to: 755
     
    kip, Oct 25, 2006 IP
  3. swapshop

    swapshop Peon

    Messages:
    656
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #3
    sorry thats not the fix there is nothink wrong with the script its due to the host no loner allowing remote scripts.

    I wish to know is there a fix?
     
    swapshop, Oct 25, 2006 IP