Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    !!!
    !!! is offline
    New to the CF scene
    Join Date
    Dec 2003
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    HTTP request error

    I'm trying to do this:

    <?php include ("http://pub50.ezboard.com/bloserclub"); ?>

    But I get a HTTP request error and stuff. How do I make it work?

  • #2
    New Coder
    Join Date
    Dec 2003
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts
    what are you trying to do?

    You can NOT include stuff from other servers! it has to be within the server....if you are trying to redirect use

    PHP Code:
    <?

    header
    ('http://urlgoeshere/');

    ?>

  • #3
    !!!
    !!! is offline
    New to the CF scene
    Join Date
    Dec 2003
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Excuse me? I know I can be able to include from URLs. However, I can't include that specific URL I'm having problems with. I'm not interested in redirections.

    what are you trying to do?
    Exactly what it looks like I'm doing.

  • #4
    New Coder
    Join Date
    Dec 2003
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you don't have to raise the voice buddy, i was trying to help you and thats what i get!


  • #5
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    They've probably disabled pages being loaded from any other server. If they've done that, then there's probably no way you can do it.

  • #6
    Regular Coder
    Join Date
    Sep 2012
    Posts
    100
    Thanks
    5
    Thanked 3 Times in 3 Posts
    very well could be that If its a free forum. ezboards usually are from what I have seen, they prohibit hotlinking.. Check with their support department.

  • #7
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,331
    Thanks
    60
    Thanked 526 Times in 513 Posts
    Blog Entries
    4
    Quote Originally Posted by fimi View Post
    PHP Code:
    <?

    header
    ('http://urlgoeshere/');

    ?>
    Quote Originally Posted by fimi View Post
    you don't have to raise the voice buddy, i was trying to help you and thats what i get!
    I'm not surprised really :

    header('Location: http://www.somewhere.com');

    Note the 'Location:'

    Quote Originally Posted by Ctechinfo View Post
    very well could be that If its a free forum. ezboards usually are from what I have seen, they prohibit hotlinking.. Check with their support department.
    Any particular reason for dragging up a 9 YEAR OLD topic?
    Last edited by tangoforce; 12-27-2012 at 01:03 AM.
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •