Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Urgent help required !

    I urgently need to write a php code that will post certain values to a particular url... I am using oscommerce shopping cart ... i have an html code for it but i donot know how to write a php code for the same... please help!

    =======================================================================

    <form name="frm1" method="post" action="https://secure.paymentgateway.co.in/default.aspx">

    <input type="hidden" name="amount" value="">

    <input type="hidden" name="mer_username" value="">

    <input type="hidden" name="mer_refno" value="">

    <input type="hidden" name="orderid" value="">

    <input type="submit" value="Submit" name="Pay">

    </form>

    =======================================================================

    now that I am using the oscommerce shopping system which runs on php technology.... please please help me write the code.

  • #2
    bdl
    bdl is offline
    Regular Coder
    Join Date
    Apr 2007
    Location
    Camarillo, CA US
    Posts
    590
    Thanks
    4
    Thanked 83 Times in 82 Posts
    What?

    If you want that form to submit to a PHP script, change the 'action' attribute to target the new PHP script.

    If you want someone to write an application to match the functionality of your ASP application, hire someone.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •