Announcement

Collapse
No announcement yet.

PHP Code

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

    PHP Code

    Hi all

    I have added some PHP code to a layout using the <?php ?> tags

    it was working fine then after a recent publish to web, SellerDeck started adding <!-- around my php code and removing the first < from the <?php text

    I have tried to put <script> around the php but that doesn't work

    Any help appreciated as SellerDeck support say PHP is not supported.

    Thanks

    #2
    after a recent publish to web
    Did you change anything just before that?
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Another thing to consider is whether it's SellerDeck or your server that's introducing these modifications.

      SellerDeck saves the pages that it's going to upload in a SiteHTML folder (location will vary depending on how you installed SD).

      Locate a faulty page there and check its source to see if it's munged or not.

      If not munged, that implies a server site problem, so check the source of the file there.

      If the source file is still OK on the server then it's probably your web-server that's doing the translation.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thanks for the quick reply

        the source file is correct.

        do you have any idea why the hosting would translate and where it would be?

        Thanks

        Comment


          #5
          Just looked into this

          it is because html files don't have a handler for php

          looking into it, i'll post an answer when found

          Comment


            #6
            No idea why. Best check the source file at your server end too. If untranslated there, perhaps ask your server support.

            Also, check the live page on a different PC / browser at your end - just in case you've got some security software runni8ng that's doing this.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment

            Working...
            X