Jump to content

Search the Community

Showing results for tags 'socks'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. Hello, im trying to use socks to grab only time and the "killed by" text from the character deaths from this page:http://www.tibia.com...ters&name=Apaci I use this code and ofc it gives me the whole page, now how can I filter what I get so that I only get the parts that I want? $fp = fsockopen("www.tibia.com", 80, $errno, $errstr, 30);if (!$fp){ echo "$errstr ($errno)<br />\n";}else{$out = "GET /community/?subtopic=characters&name=Apaci HTTP/1.1\r\n";$out .= "Host: www.tibia.com\r\n";$out .= "Connection: Close\r\n";$out .= "Accept: text/plain\r\n\r\n"; fwrite($fp, $out);$lines = Array();while (!feof($fp)){ $lines[] = fgets($fp, 1024);} for($i=0; $i<count($lines); $i++){ echo $lines[$i];} fclose($fp); }
×
×
  • Create New...