Is my PHP code private?

  • MikePreston
    Asked on March 12, 2014 at 5:50 AM

    If I understand this correctly, another person can access my form if they guess the jotform address (or if they navigate to the form through my website, of course).  If that other person has a jotform account can they gain access to the PHP code I've incorporated into my form?  It looks like only the owner of the form has the ability to edit the form and therefore only the owner should have access to any code that is associated with that form.  But I just want to be sure.

  • jonathan
    Replied on March 12, 2014 at 7:54 AM

    Hi Mike,

    PHP code is server-side. So, the chance of a form user (who have access to the form) of viewing the PHP code (back-end) is NOT likely to happen.

    Only possible way to do so is by intruding the back-end web server(yours) where the PHP codes are located.

    Hope this answers your question. Inform us if you have further inquiry about this.

    Thanks!

  • MikePreston
    Replied on March 12, 2014 at 1:29 PM

    What about somebody else on jotform importing the form?  Will my php be accessible to them?

  • Jeanette JotForm Support
    Replied on March 12, 2014 at 4:12 PM

    Like Jonathan said, PHP is a server side language, any script you make,  will be hosted in your servers and running from your servers

    Not sure what you mean by "import" the form. Nobody would do that.

    You are probably referring to "clone" the form And still, if anybody do that, the script is in your servers and nobody running a client-side application (such as web browsers) can get it, unless someone does  an instrussion to your servers where the PHP code is located

    The form can  have the URL (the location) to your PHP script, not the script itself.