URL Processor
Processed URLs:
$urls);
$options = array(
'http' => array(
'method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded',
'content' => http_build_query($data)
)
);
$context = stream_context_create($options);
$result = @file_get_contents('https://apitext.isach.org/process_urls', false, $context);
if ($result !== FALSE) {
$response = json_decode($result, true);
echo htmlspecialchars($response['result']);
} else {
echo "Error processing URLs.";
}
}
?>
Pattern Extractor
Extracted Patterns:
$text, 'pattern' => $pattern);
$options = array(
'http' => array(
'method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded',
'content' => http_build_query($data)
)
);
$context = stream_context_create($options);
$result = @file_get_contents('https://apitext.isach.org/extract_pattern', false, $context);
if ($result !== FALSE) {
$response = json_decode($result, true);
echo htmlspecialchars($response['result']);
} else {
echo "Error extracting pattern.";
}
}
?>