cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: Server memory usage

From: haroon ahmad <haroon_at_fastcreators.com>
Date: Sat, 7 Feb 2009 02:37:50 +0000

try this

function foo($c, $data){
ob_start(); // start buffering
$data=ob_get_contents(); //store buffer data in variable
ob_end_clean();

print $data // I didn't get your idea of returning string size of $data
    // does whatever it does

  // return strlen($data);

}

Regards,
Haroon Ahmad
www.haroonahmad.co.uk
PHP Developer U.K

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2009-02-07