libs/PHPCrawlerUserSendDataCache.class.php
public function getPostDataForUrl($url)
  {
    $post_data_array = array();
    
    $cnt = count($this->post_data);
    for ($x=0; $x<$cnt; $x++)
    {
      if (preg_match($this->post_data[$x]["url_regex"], $url))
      {
        $post_data_array[$this->post_data[$x]["key"]] = $this->post_data[$x]["value"];
      }
    }
    
    return $post_data_array;
  }
public function getPostDataForUrl($url)
  {
    $post_data_array = array();
    
    $cnt = count($this->post_data);
    for ($x=0; $x<$cnt; $x++)
    {
      if (preg_match($this->post_data[$x]["url_regex"], $url))
      {
        $post_data_array[$this->post_data[$x]["key"]] = $this->post_data[$x]["value"];
      }
    }
    
    return $post_data_array;
  }
Returns the post-data (key and value) that should be send to the given URL.

@param string $url The URL.
@return array Array containing the post_keys as keys and the values as values.
(like array("key1" => "value1", "key2" => "value2")