hi ,
i am facing a problem in fopen this command i am using two different form in one form it working nice and in the second it not working well ... i think in this form total number of variables values is exceeded from 255 so it not work nice but i have to done it and want to get responce here since if i use a form then same these value work ok but in this condition i do not get string since it open directly other window but i want to call it on my own window command is this....
<?
if(!$handle = @fopen("http://mydomain.com/WebTracking/processRequest?TypeOfInquiryNumber=".$TypeOfInquiryNumber."&tracknums_displayed=".$tracknums_displayed."&HTMLVersion=".$HTMLVersion."&AgreeToTermsAndConditions=".$AgreeToTermsAndConditions."&loc=".$loc."&sort_by=".$sort_by."&line1=".$line1."&InquiryNumber1=".$InquiryNumber1."&NumberDetailLines=".$NumberDetailLines."&Requester=".$Requester,"rb"))
{
die(" window not open ");
}
$contents = "";
//print $handle;
if($handle)
{
do {
$data = fread($handle, 8192);
if (strlen($data) == 0) {
break;
}
$contents .= $data;
// print $contents;
} while (true);
fclose($handle);
//print "" .$contents. "<strong>CONTENTS OF Ship Traking</strong>";
}
$text=$contents;
?>
here i use $text in my own window....
There is no error here like i use for error
die(" window not open ");
its not show but the result i want not present...
is there any other way i use these variables and get responce as a string.. Remember that if i send these value in the type of a form it work nice but in this case i do not get any responce so if in case of form if there any way i get responce its also good...