Announcement

Collapse
No announcement yet.

php and mercant

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    php and mercant



    Anyone ever include php inside their merchant pages?

    Bill



    #2
    php and mercant



    You can MvCALL a php script but there's no
    way to use raw php code in Merchant because=20
    Apache hands off the processing duties to
    Empresa which doesn't know PHP.

    David

    Bill Gilligan wrote:
    > Anyone ever include php inside their merchant pages?
    >=20
    > Bill
    >=20
    >=20

    Comment


      #3
      php and mercant



      Actually think I found a way - using an iframe loads the script, and returns
      the info back. Placing an iframe in a Viking template page seems to work -
      still testing though.

      Bill


      -----Original Message-----
      From: [email protected]
      [mailto:[email protected]]On Behalf Of David Hubbard
      Sent: Wednesday, January 19, 2005 5:07 PM
      To: Bill Gilligan; Miva Merchant Coders
      Subject: RE: [mrc] php and mercant


      You can MvCALL a php script but there's no
      way to use raw php code in Merchant because
      Apache hands off the processing duties to
      Empresa which doesn't know PHP.

      David

      Bill Gilligan wrote:
      > Anyone ever include php inside their merchant pages?
      >
      > Bill
      >
      >

      Comment


        #4
        php and mercant



        That will make it not work for everyone but
        Internet Explorer users I think.

        David

        Bill Gilligan wrote:
        > Actually think I found a way - using an iframe loads the
        > script, and returns
        > the info back. Placing an iframe in a Viking template page
        > seems to work -
        > still testing though.
        >=20
        > Bill
        >=20
        >=20
        > -----Original Message-----
        > From: [email protected]
        > [mailto:[email protected]]On Behalf Of David Hubbard
        > Sent: Wednesday, January 19, 2005 5:07 PM
        > To: Bill Gilligan; Miva Merchant Coders
        > Subject: RE: [mrc] php and mercant
        >=20
        >=20
        > You can MvCALL a php script but there's no
        > way to use raw php code in Merchant because
        > Apache hands off the processing duties to
        > Empresa which doesn't know PHP.
        >=20
        > David
        >=20
        > Bill Gilligan wrote:
        >> Anyone ever include php inside their merchant pages?
        >>=20
        >> Bill
        >>=20
        >>=20

        Comment


          #5
          php and mercant



          I mean the opposite, I think iframes only work with IE.

          David

          David Hubbard wrote:
          > That will make it not work for everyone but
          > Internet Explorer users I think.
          >=20
          > David
          >=20
          > Bill Gilligan wrote:
          >> Actually think I found a way - using an iframe loads the
          >> script, and returns
          >> the info back. Placing an iframe in a Viking template page
          >> seems to work -
          >> still testing though.
          >>=20
          >> Bill
          >>=20
          >>=20
          >> -----Original Message-----
          >> From: [email protected]
          >> [mailto:[email protected]]On Behalf Of David Hubbard
          >> Sent: Wednesday, January 19, 2005 5:07 PM
          >> To: Bill Gilligan; Miva Merchant Coders
          >> Subject: RE: [mrc] php and mercant
          >>=20
          >>=20
          >> You can MvCALL a php script but there's no
          >> way to use raw php code in Merchant because
          >> Apache hands off the processing duties to
          >> Empresa which doesn't know PHP.
          >>=20
          >> David
          >>=20
          >> Bill Gilligan wrote:
          >>> Anyone ever include php inside their merchant pages?
          >>>=20
          >>> Bill
          >>>=20
          >>>=20

          Comment


            #6
            php and mercant



            If I am not mistaken, it works in all new versions of IE and Netscape - but
            I'll need to test.

            Bill

            -----Original Message-----
            From: David Hubbard [mailto:[email protected]]
            Sent: Wednesday, January 19, 2005 5:31 PM
            To: David Hubbard; Bill Gilligan; Miva Merchant Coders
            Subject: RE: [mrc] php and mercant


            I mean the opposite, I think iframes only work with IE.

            David

            David Hubbard wrote:
            > That will make it not work for everyone but
            > Internet Explorer users I think.
            >
            > David
            >
            > Bill Gilligan wrote:
            >> Actually think I found a way - using an iframe loads the
            >> script, and returns
            >> the info back. Placing an iframe in a Viking template page
            >> seems to work -
            >> still testing though.
            >>
            >> Bill
            >>
            >>
            >> -----Original Message-----
            >> From: [email protected]
            >> [mailto:[email protected]]On Behalf Of David Hubbard
            >> Sent: Wednesday, January 19, 2005 5:07 PM
            >> To: Bill Gilligan; Miva Merchant Coders
            >> Subject: RE: [mrc] php and mercant
            >>
            >>
            >> You can MvCALL a php script but there's no
            >> way to use raw php code in Merchant because
            >> Apache hands off the processing duties to
            >> Empresa which doesn't know PHP.
            >>
            >> David
            >>
            >> Bill Gilligan wrote:
            >>> Anyone ever include php inside their merchant pages?
            >>>
            >>> Bill
            >>>
            >>>

            Comment


              #7
              php and mercant



              If you need it just in the checkout, you can call the PHP script with a
              MvCALL placed in the footer of any truXoft fulfilment module. If you use OUI
              in that store, I believe it has a command for remote calls too.

              Ivo Truxa

              | http://miva.truxoft.com
              | Advanced Miva Merchant modules



              -----Original Message-----
              From: Bill Gilligan

              Actually think I found a way - using an iframe loads the script, and returns
              the info back. Placing an iframe in a Viking template page seems to work -
              still testing though.

              Bill


              -----Original Message-----
              From: David Hubbard


              You can MvCALL a php script but there's no
              way to use raw php code in Merchant because
              Apache hands off the processing duties to
              Empresa which doesn't know PHP.

              David

              Bill Gilligan wrote:
              > Anyone ever include php inside their merchant pages?
              >
              > Bill
              >


              Comment


                #8
                php and mercant



                I'll checkout the oui option. As I do need it as main content on a page.

                Bill

                -----Original Message-----
                From: [email protected]
                [mailto:[email protected]]On Behalf Of Ivo Truxa
                Sent: Wednesday, January 19, 2005 5:48 PM
                To: 'Miva Merchant Coders'
                Subject: RE: [mrc] php and mercant


                If you need it just in the checkout, you can call the PHP script with a
                MvCALL placed in the footer of any truXoft fulfilment module. If you use OUI
                in that store, I believe it has a command for remote calls too.

                Ivo Truxa

                | http://miva.truxoft.com
                | Advanced Miva Merchant modules



                -----Original Message-----
                From: Bill Gilligan

                Actually think I found a way - using an iframe loads the script, and returns
                the info back. Placing an iframe in a Viking template page seems to work -
                still testing though.

                Bill


                -----Original Message-----
                From: David Hubbard


                You can MvCALL a php script but there's no
                way to use raw php code in Merchant because
                Apache hands off the processing duties to
                Empresa which doesn't know PHP.

                David

                Bill Gilligan wrote:
                > Anyone ever include php inside their merchant pages?
                >
                > Bill
                >


                Comment


                  #9
                  php and mercant



                  You are correct Bill. Iframes work in IE, Mozilla, Firefox, Opera and
                  the newer Netscape browsers (i.e. past 4.x). I'm sure it probably works
                  in almost any 4.01 compliant browser.

                  There was a time when it didn't though.

                  Ben

                  -----Original Message-----
                  From: [email protected]
                  [mailto:[email protected]] On Behalf Of Bill Gilligan
                  Sent: Wednesday, January 19, 2005 5:41 PM
                  To: David Hubbard; Miva Merchant Coders
                  Subject: RE: [mrc] php and mercant

                  If I am not mistaken, it works in all new versions of IE and Netscape -
                  but
                  I'll need to test.

                  Bill

                  -----Original Message-----
                  From: David Hubbard [mailto:[email protected]]
                  Sent: Wednesday, January 19, 2005 5:31 PM
                  To: David Hubbard; Bill Gilligan; Miva Merchant Coders
                  Subject: RE: [mrc] php and mercant


                  I mean the opposite, I think iframes only work with IE.

                  David

                  David Hubbard wrote:
                  > That will make it not work for everyone but
                  > Internet Explorer users I think.
                  >
                  > David
                  >
                  > Bill Gilligan wrote:
                  >> Actually think I found a way - using an iframe loads the
                  >> script, and returns
                  >> the info back. Placing an iframe in a Viking template page
                  >> seems to work -
                  >> still testing though.
                  >>
                  >> Bill
                  >>
                  >>
                  >> -----Original Message-----
                  >> From: [email protected]
                  >> [mailto:[email protected]]On Behalf Of David Hubbard
                  >> Sent: Wednesday, January 19, 2005 5:07 PM
                  >> To: Bill Gilligan; Miva Merchant Coders
                  >> Subject: RE: [mrc] php and mercant
                  >>
                  >>
                  >> You can MvCALL a php script but there's no
                  >> way to use raw php code in Merchant because
                  >> Apache hands off the processing duties to
                  >> Empresa which doesn't know PHP.
                  >>
                  >> David
                  >>
                  >> Bill Gilligan wrote:
                  >>> Anyone ever include php inside their merchant pages?
                  >>>
                  >>> Bill
                  >>>
                  >>>

                  Comment


                    #10
                    php and mercant



                    Thanks Ben!

                    thats really good news - and makes life easier!

                    Bill

                    -----Original Message-----
                    From: Ben Walsh [mailto:[email protected]]
                    Sent: Wednesday, January 19, 2005 8:52 PM
                    To: 'Bill Gilligan'; 'David Hubbard'; 'Miva Merchant Coders'
                    Subject: RE: [mrc] php and mercant


                    You are correct Bill. Iframes work in IE, Mozilla, Firefox, Opera and
                    the newer Netscape browsers (i.e. past 4.x). I'm sure it probably works
                    in almost any 4.01 compliant browser.

                    There was a time when it didn't though.

                    Ben

                    -----Original Message-----
                    From: [email protected]
                    [mailto:[email protected]] On Behalf Of Bill Gilligan
                    Sent: Wednesday, January 19, 2005 5:41 PM
                    To: David Hubbard; Miva Merchant Coders
                    Subject: RE: [mrc] php and mercant

                    If I am not mistaken, it works in all new versions of IE and Netscape -
                    but
                    I'll need to test.

                    Bill

                    -----Original Message-----
                    From: David Hubbard [mailto:[email protected]]
                    Sent: Wednesday, January 19, 2005 5:31 PM
                    To: David Hubbard; Bill Gilligan; Miva Merchant Coders
                    Subject: RE: [mrc] php and mercant


                    I mean the opposite, I think iframes only work with IE.

                    David

                    David Hubbard wrote:
                    > That will make it not work for everyone but
                    > Internet Explorer users I think.
                    >
                    > David
                    >
                    > Bill Gilligan wrote:
                    >> Actually think I found a way - using an iframe loads the
                    >> script, and returns
                    >> the info back. Placing an iframe in a Viking template page
                    >> seems to work -
                    >> still testing though.
                    >>
                    >> Bill
                    >>
                    >>
                    >> -----Original Message-----
                    >> From: [email protected]
                    >> [mailto:[email protected]]On Behalf Of David Hubbard
                    >> Sent: Wednesday, January 19, 2005 5:07 PM
                    >> To: Bill Gilligan; Miva Merchant Coders
                    >> Subject: RE: [mrc] php and mercant
                    >>
                    >>
                    >> You can MvCALL a php script but there's no
                    >> way to use raw php code in Merchant because
                    >> Apache hands off the processing duties to
                    >> Empresa which doesn't know PHP.
                    >>
                    >> David
                    >>
                    >> Bill Gilligan wrote:
                    >>> Anyone ever include php inside their merchant pages?
                    >>>
                    >>> Bill
                    >>>
                    >>>

                    Comment


                      #11
                      php and mercant



                      FWIW, our Extra Screens module can do this too. Our store directory
                      <A HREF ="http://www.netblazon.com/mivastore/storedir is an Extra Screen that calls">http://www.netblazon.com/mivastore/storedir is an Extra Screen that calls</A>
                      PHP scripts to pull the data from a MySQL database.

                      Susan Petracco
                      [email protected]
                      NetBlazon
                      E-Business for Every Business

                      > -----Original Message-----
                      > From: [email protected]
                      > [mailto:[email protected]] On Behalf Of Bill Gilligan
                      > Sent: Wednesday, January 19, 2005 7:48 PM
                      > To: Ivo Truxa; 'Miva Merchant Coders'
                      > Subject: RE: [mrc] php and mercant
                      >
                      > I'll checkout the oui option. As I do need it as main content
                      > on a page.
                      >
                      > Bill
                      >
                      > -----Original Message-----
                      > From: [email protected]
                      > [mailto:[email protected]]On Behalf Of Ivo Truxa
                      > Sent: Wednesday, January 19, 2005 5:48 PM
                      > To: 'Miva Merchant Coders'
                      > Subject: RE: [mrc] php and mercant
                      >
                      >
                      > If you need it just in the checkout, you can call the PHP
                      > script with a
                      > MvCALL placed in the footer of any truXoft fulfilment module.
                      > If you use OUI
                      > in that store, I believe it has a command for remote calls too.
                      >
                      > Ivo Truxa
                      >
                      > | http://miva.truxoft.com
                      > | Advanced Miva Merchant modules
                      >
                      >
                      >
                      > -----Original Message-----
                      > From: Bill Gilligan
                      >
                      > Actually think I found a way - using an iframe loads the
                      > script, and returns
                      > the info back. Placing an iframe in a Viking template page
                      > seems to work -
                      > still testing though.
                      >
                      > Bill
                      >
                      >
                      > -----Original Message-----
                      > From: David Hubbard
                      >
                      >
                      > You can MvCALL a php script but there's no
                      > way to use raw php code in Merchant because
                      > Apache hands off the processing duties to
                      > Empresa which doesn't know PHP.
                      >
                      > David
                      >
                      > Bill Gilligan wrote:
                      > > Anyone ever include php inside their merchant pages?
                      > >
                      > > Bill
                      > >
                      >
                      >

                      Comment


                        #12
                        php and mercant



                        You should be also aware that in all those browsers, including MSIE, iframes
                        may be blocked in security settings.

                        Ivo Truxa

                        | http://miva.truxoft.com
                        | Advanced Miva Merchant modules



                        -----Original Message-----
                        From: Ben Walsh

                        You are correct Bill. Iframes work in IE, Mozilla, Firefox, Opera and
                        the newer Netscape browsers (i.e. past 4.x). I'm sure it probably works
                        in almost any 4.01 compliant browser.

                        There was a time when it didn't though.

                        Ben

                        -----Original Message-----
                        From: [email protected]
                        [mailto:[email protected]] On Behalf Of Bill Gilligan
                        Sent: Wednesday, January 19, 2005 5:41 PM
                        To: David Hubbard; Miva Merchant Coders
                        Subject: RE: [mrc] php and mercant

                        If I am not mistaken, it works in all new versions of IE and Netscape -
                        but
                        I'll need to test.

                        Bill

                        -----Original Message-----
                        From: David Hubbard [mailto:[email protected]]
                        Sent: Wednesday, January 19, 2005 5:31 PM
                        To: David Hubbard; Bill Gilligan; Miva Merchant Coders
                        Subject: RE: [mrc] php and mercant


                        I mean the opposite, I think iframes only work with IE.

                        David

                        David Hubbard wrote:
                        > That will make it not work for everyone but
                        > Internet Explorer users I think.
                        >
                        > David
                        >
                        > Bill Gilligan wrote:
                        >> Actually think I found a way - using an iframe loads the
                        >> script, and returns
                        >> the info back. Placing an iframe in a Viking template page
                        >> seems to work -
                        >> still testing though.
                        >>
                        >> Bill
                        >>
                        >>
                        >> -----Original Message-----
                        >> From: [email protected]
                        >> [mailto:[email protected]]On Behalf Of David Hubbard
                        >> Sent: Wednesday, January 19, 2005 5:07 PM
                        >> To: Bill Gilligan; Miva Merchant Coders
                        >> Subject: RE: [mrc] php and mercant
                        >>
                        >>
                        >> You can MvCALL a php script but there's no
                        >> way to use raw php code in Merchant because
                        >> Apache hands off the processing duties to
                        >> Empresa which doesn't know PHP.
                        >>
                        >> David
                        >>
                        >> Bill Gilligan wrote:
                        >>> Anyone ever include php inside their merchant pages?
                        >>>
                        >>> Bill


                        Comment


                          #13
                          php and mercant



                          The question I would have - can I send data to the php script and return the
                          result in the same Merchant page?

                          I need to submit a form - and get results back - pulling data from a MySQL
                          database.

                          This does work in the iframe.

                          Bill


                          -----Original Message-----
                          From: Susan Petracco [mailto:[email protected]]
                          Sent: Wednesday, January 19, 2005 9:14 PM
                          To: 'Bill Gilligan'; 'Ivo Truxa'; 'Miva Merchant Coders'
                          Subject: RE: [mrc] php and mercant


                          FWIW, our Extra Screens module can do this too. Our store directory
                          <A HREF ="http://www.netblazon.com/mivastore/storedir is an Extra Screen that calls">http://www.netblazon.com/mivastore/storedir is an Extra Screen that calls</A>
                          PHP scripts to pull the data from a MySQL database.

                          Susan Petracco
                          [email protected]
                          NetBlazon
                          E-Business for Every Business

                          > -----Original Message-----
                          > From: [email protected]
                          > [mailto:[email protected]] On Behalf Of Bill Gilligan
                          > Sent: Wednesday, January 19, 2005 7:48 PM
                          > To: Ivo Truxa; 'Miva Merchant Coders'
                          > Subject: RE: [mrc] php and mercant
                          >
                          > I'll checkout the oui option. As I do need it as main content
                          > on a page.
                          >
                          > Bill
                          >
                          > -----Original Message-----
                          > From: [email protected]
                          > [mailto:[email protected]]On Behalf Of Ivo Truxa
                          > Sent: Wednesday, January 19, 2005 5:48 PM
                          > To: 'Miva Merchant Coders'
                          > Subject: RE: [mrc] php and mercant
                          >
                          >
                          > If you need it just in the checkout, you can call the PHP
                          > script with a
                          > MvCALL placed in the footer of any truXoft fulfilment module.
                          > If you use OUI
                          > in that store, I believe it has a command for remote calls too.
                          >
                          > Ivo Truxa
                          >
                          > | http://miva.truxoft.com
                          > | Advanced Miva Merchant modules
                          >
                          >
                          >
                          > -----Original Message-----
                          > From: Bill Gilligan
                          >
                          > Actually think I found a way - using an iframe loads the
                          > script, and returns
                          > the info back. Placing an iframe in a Viking template page
                          > seems to work -
                          > still testing though.
                          >
                          > Bill
                          >
                          >
                          > -----Original Message-----
                          > From: David Hubbard
                          >
                          >
                          > You can MvCALL a php script but there's no
                          > way to use raw php code in Merchant because
                          > Apache hands off the processing duties to
                          > Empresa which doesn't know PHP.
                          >
                          > David
                          >
                          > Bill Gilligan wrote:
                          > > Anyone ever include php inside their merchant pages?
                          > >
                          > > Bill
                          > >
                          >
                          >

                          Comment


                            #14
                            php and mercant



                            In my case, I added fall back code by adding a link if the iframe fails to
                            display.
                            Bill


                            -----Original Message-----
                            From: [email protected]
                            [mailto:[email protected]]On Behalf Of Ivo Truxa
                            Sent: Wednesday, January 19, 2005 9:17 PM
                            To: 'Miva Merchant Coders'
                            Subject: RE: [mrc] php and mercant


                            You should be also aware that in all those browsers, including MSIE, iframes
                            may be blocked in security settings.

                            Ivo Truxa

                            | http://miva.truxoft.com
                            | Advanced Miva Merchant modules



                            -----Original Message-----
                            From: Ben Walsh

                            You are correct Bill. Iframes work in IE, Mozilla, Firefox, Opera and
                            the newer Netscape browsers (i.e. past 4.x). I'm sure it probably works
                            in almost any 4.01 compliant browser.

                            There was a time when it didn't though.

                            Ben

                            -----Original Message-----
                            From: [email protected]
                            [mailto:[email protected]] On Behalf Of Bill Gilligan
                            Sent: Wednesday, January 19, 2005 5:41 PM
                            To: David Hubbard; Miva Merchant Coders
                            Subject: RE: [mrc] php and mercant

                            If I am not mistaken, it works in all new versions of IE and Netscape -
                            but
                            I'll need to test.

                            Bill

                            -----Original Message-----
                            From: David Hubbard [mailto:[email protected]]
                            Sent: Wednesday, January 19, 2005 5:31 PM
                            To: David Hubbard; Bill Gilligan; Miva Merchant Coders
                            Subject: RE: [mrc] php and mercant


                            I mean the opposite, I think iframes only work with IE.

                            David

                            David Hubbard wrote:
                            > That will make it not work for everyone but
                            > Internet Explorer users I think.
                            >
                            > David
                            >
                            > Bill Gilligan wrote:
                            >> Actually think I found a way - using an iframe loads the
                            >> script, and returns
                            >> the info back. Placing an iframe in a Viking template page
                            >> seems to work -
                            >> still testing though.
                            >>
                            >> Bill
                            >>
                            >>
                            >> -----Original Message-----
                            >> From: [email protected]
                            >> [mailto:[email protected]]On Behalf Of David Hubbard
                            >> Sent: Wednesday, January 19, 2005 5:07 PM
                            >> To: Bill Gilligan; Miva Merchant Coders
                            >> Subject: RE: [mrc] php and mercant
                            >>
                            >>
                            >> You can MvCALL a php script but there's no
                            >> way to use raw php code in Merchant because
                            >> Apache hands off the processing duties to
                            >> Empresa which doesn't know PHP.
                            >>
                            >> David
                            >>
                            >> Bill Gilligan wrote:
                            >>> Anyone ever include php inside their merchant pages?
                            >>>
                            >>> Bill


                            Comment

                            Working...
                            X