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 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Parsing Data from URL's containing colon character

    I'm using PHP Simple HTML DOM Parser to grab some data form wikipedia.

    it uses a file_get_contents function to load the URLs.

    I'm getting a 403 forbidden error on line 39 from URLs containing the " : " character.

    I've attempted to replace the colon with %3A to no avail

    Any help would be appreciated

    Cheers,

    Georges

  • #2
    Regular Coder
    Join Date
    Dec 2009
    Location
    UK
    Posts
    495
    Thanks
    0
    Thanked 58 Times in 58 Posts
    Can you be more specific and provide examples of URL's that work and don't work
    My site: JayGilford.com
    Resources:
    PHP Pagination Class | Getting all page links | Handling PHP Errors properly
    If you like a users help, show your appreciation with the rep and thanks buttons :)


  •  

    Posting Permissions

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