• Hi Scott, it’s me again ?? !

    I’m coming back today for an other problem. As I explain on this post, I use iframe to get my form working. It call a php file that I have placed in a special folder (“datas”) the problem is that when I generate my static files SS run the php file and copy that result in the same subdirectory in my static files folder :(… The extension is still php but the content is only the parsed result of its execution :(.
    I tried to make a hardlink of it but in that case SS crush my php code in the original folder :(.
    So could you add an option to exclude files from being parsing when they are in a special defined folder ?
    Or perhaps just a raw copy of files from this folder or exclude the php extension from the process of parsing when they are in a form tag ?

    If you have an idea or a suggestion to help me with that problem, I will be happy to get it ?? !!

    I hope I’ve been clear ;)…

    TIA.

    Amicably,

    Pierre.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Pierre,

    Yeah, that makes sense. One of the items on my todo list is to add the ability to exclude URLs. Until then, you’ll probably have to make some manual modifications after running Simply Static ??

    Best,
    Scott

    Thread Starter Pierre_02

    (@pierre_02)

    Hi Scott,

    thanks for the quick answer ?? ! I’ve found a quick and dirty trick to “protect” my file by setting its rights to 0444 :).
    BTW, everything works fine :).

    Amicably,

    Pierre.

    That’s a clever workaround. Nice work ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘“Protect” php files’ is closed to new replies.