SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jan 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A Funny Experiment in PHP

    Today I did a funny experiment with my friend that, I retrieved her web-page through curl and showed her that, her page is on my web-page.

    But suddenly she shocked me by showing 1 thing due to which, I am not able to retrieve her page.
    Now what i see on my page is "IP - zzz.zz.zzz.zzz is blocked."

    When I asked her, she told me that by this way we can block any IP of website, which is accessing our site data.

    Then I took it as challenge and told her to beat her statement, but not able to figure out what I need to do to win this competition.

    Someone please help.
    I also tried file_get_contents, but it is also generating the same message that IP is blocked.

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    16,478
    Mentioned
    162 Post(s)
    Tagged
    1 Thread(s)
    You can't.

    Just admit to her that you've learned that you can't, say you're sorry for the poor joke, and ask her to unblock you.

    Thread Closed.


Bookmarks

Posting Permissions

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