2009/2/8 Jan Luca <[email protected]>:
> function getheaders($buf) {
>
>      preg_match ("/^(.*)\r\n\r\n/is",$buf,$hit);
>
>      return $hit[1];
>
> }
>
>
>
> function removeheaders($buf) {
>
>      preg_match ("/\r\n\r\n(.*)$/is",$buf,$hit);
>
>      return $hit[1];
>
> }
Where did you get this from? hd_bot's HTTP wrapper class maybe?^^

Marco

-- 
VMSoft GbR
Nabburger Str. 15
81737 München
Geschätsführer: Marco Schuster, Volker Hemmert
http://vmsoft-gbr.de

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to