Announcement

Collapse
No announcement yet.

php in the V8 designer tab

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

    php in the V8 designer tab

    what subset of php is actually available.

    all i get is lame parse errors, but what i really want is something useful. like mysql, or sqlite, or even adodb.

    is there any kind of connectivity i can have? norm?

    #2
    Temporarily put

    !!<actinic:block php="true">phpinfo();</actinic:block>>!!

    into a Product Description and all will be revealed.

    Also this http://community.actinic.com/showpos...0&postcount=13 post from Zoltan talks about extending the built-in functionality.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      excellent idea. thanks norm.

      Comment


        #4
        If you're going to write your own functions then I'm getting good results by putting my PHP functions into an external file and using

        include_once 'myfunctions.php';

        somewhere in my Layouts (before any PHP that needs these functions).

        If you edit myfunctions.php, you'll need to restart Actinic in order for the changes to be applied.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          well isnt that cute, i got a sql database to render content in a page.

          i need a god damn medal for that.

          Comment


            #6
            I posted (don't know where) a bit of code that interrogated some tables from ActinicCatalog.mdb from within a layout.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              well, thats what i was actually trying to do, but it causes my actinic to crash.

              not good

              can you find me the code, i searched, no luck.

              Comment


                #8
                also, any kids out there wanting to play with this fire, be aware, that i'v just managed to get my actinic to a state where it crashes immidiately on loading.

                this is only recoverable via editing out the offending code manually from the database.

                be warned.

                Comment


                  #9
                  See http://community.actinic.com/showthread.php?t=30483

                  I think I too may have experienced some crashes when testing this.
                  Norman - www.drillpine.biz
                  Edinburgh, U K / Bitez, Turkey

                  Comment


                    #10
                    actually, i was going dsnless, and i totally forgot about the allready installed connectors. no wonder it crashed.

                    Comment

                    Working...
                    X