newbie needs help with insert('hop.php') problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to get an order page working to submit credit card orders
and I am having trouble with the order page. the included file "HOP.php" is
in the same directory and it has both read and write permissions. I am
on a Linux and PHP 5.2.3 server. there are no PHP error messages.

I have this page of php code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4//strict.dtd";.
<html>
<heading>
</heading>
<body>
<p align="center">(test a form using sample CyberSource code)</p>
    <p>&nbsp;</p></td>
  </tr>
  <h1 align="center"> Sample Product Name</h1>
  <p align="center">Description of Product </p>
  <?php ini_set ('display_errors', '1');
    error_reporting ('e_all');  ?>
  <?php echo "This is a PHP line BEFORE the include statement"; ?><br>
  <?php include("./HOP.php"); ?><br>
 this is a HTML line AFTER the include statement<br>

  <form action="https://orderpagetest.ic3.com/hop/ProcessOrder.do"; 
method="post">
    <div align="center">
      <?php /* insertSignature3 ("10.00", "usd", "sale"); */ ?>
      <input type="hidden" name="billTo_firstName" value="bulldog">
      <input type="hidden" name="billTo_lastName" value="Tortilla">
      <input type="hidden" name="billTo_email" value="johnDoe@xxxxxxxxx">
      <input type="hidden" name="merchantDefinedData1" value="ship">
      <input type="submit" value="Buy Now">
     </div>
   </form>
    <p> <strong> -- this is the last line of HTML code on this 
page --</strong></p>
</body>
</html>


when the page is processed the "include" statement is replaced with the word 
"null" on the output screen and the
insertSignature3 line is not processed and the html for the form is not 
generated; the page stops right after this line,
but if I comment out the "insertSignature3"  line, the form is generated 
correctly with the submit button.
Does anyone have an idea of what might be the problem. I have also spent 
several days with the cybersource.com
technical support and they do not know what is causing this and seem as lost 
as I am.
Any and all help would be appreciated. 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux