Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by michaelfurey

  1. Well I don't have bad intentions however I understand your point of view!
  2. Hi! I am trying to do a script to fill in and submit this page: https://sa.www4.irs.gov/irfof/lang/en/irfofgetstatus.jsp . Unfortunately my script doesn't work... have you some ideas about the reasons? <?php $dir = 'C:/Users/mmea/Desktop/temporary/'; $refundAmount = // WHY $TIN3 = // DID $TIN2 = // YOU $TIN5 = // POST $filingStatus1 = // THESE? $url="https://sa.www4.irs.gov/irfof/lang/en/irfofgetstatus.jsp"; $postinfo = "refundAmount=".$refundAmount."&TIN2=".$TIN2."&TIN5=".$TIN5."&TIN3=".$TIN3."&filingStatus=".$filingStatus1."&autologin=1&Submit2=Submit"; $cookie_file_path = $dir."/cookie.txt"; $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_NOBODY, false); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file_path); curl_setopt($ch, CURLOPT_COOKIE, "cookiename=0"); curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.2 (KHTML, like Gecko) Chrome/22.0.1216.0 Safari/537.2"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_REFERER, $_SERVER['REQUEST_URI']); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 0); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $postinfo); curl_exec($ch); curl_close($ch); ?>
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.