
jayasim - 2007-08-25 04:49:44 -
In reply to message 6 from Ehsanul Haque
Hi ehsan,
Anyways its gr8 work indeed.I have 1 doubt in your code...
if (!empty($matches))
{
$foundStr = $matches[0];
$pattern = array (
'/id/', '/(\.?)crumb(\d?)/', '/value/', '/=/', '/\"/'
);
$replacement = array (
'', '', '', '', ''
);
$this->crumb = preg_replace($pattern, $replacement, $foundStr);
}
You are doing this pattern match.I have seen in yahoo i cant able to find out any link saying keywords like "crumb" "value" "id" etc.,
Could you please let me know how you able to find out these variables that your are posting using CURL????Eagarly awaiting for your response.