Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: POSTing to url

From: jblake:arsenaldigital at: 12-Jul-2007 15:26

That's for the response. The page is returning the error designed for when it doesn't get the items. Here's the php code; ////////////////////////////// // Check for required field(s) if(!isset($_POST['host'], $_POST['ip'], $_POST['category'], $_POST['subject'], $_POST['site'], $_POST['customer'], $_POST['contact'], $_ POST['body'])) { echo <prov-req-response><transtatus>12112</transtatus><ticketnum>-1</ticketn um></prov-req-response> ; die(); // CATCH ERROR } ///////////////////// When I print my result; I see the "-1" line which is the error line. Let me try your suggestions. Thanks John