Special Needs

[insert_php] $PostPage = “https://getContent.pediatricweb.com/webpost/SpecialNeeds.asp?”;
$variables = “pw_groupid=448&pw_accesscode=9E5B307E-83AB-4D0D-83C5-6B1B396A5657&pw_url=&tCategoryId=” . $_GET[“tCategoryId”] . $_POST[“tCategoryId”] . “&tArticleId=” . $_GET[“tArticleId”] . $_POST[“tArticleId”] . “&tArticleStyle=” . $_GET[“tArticleStyle”] . $_POST[“tArticleStyle”] . “&pw_articlepage=/parent-resources/special-needs/”;
$query = $PostPage . $variables;
$url = parse_url($query);
$host = $url[“host”];
$path = $url[“path”] . “?” . $url[“query”];
$timeout = 1;
$fp = fsockopen ($host, 80, $errno, $errstr, $timeout);
if ($fp) {
fputs ($fp, “GET $path HTTP/1.0\nHost: ” . $host . “\n\n”);
$header = “”;
//header
do // loop until the end of the header
{
$header.= fgets( $fp, 128);
}
while (strpos( $header, “\r\n\r\n”) === false);
$buf = “”;
while (!feof($fp))
{
$buf.= fgets($fp, 128);
}

$varResult = $buf;
fclose($fp);
} else {
# enter error handing code here
}
echo $varResult;
[/insert_php]