Streaming live at 10am (PST)

How to use PHP code in Webflow


#1

Semi-related question, since webflow is allowing PHP code starting 2/12/17, would I be able to add PHP directly in the embed component to make this form fully functional in a webflow hosted environment? or would i still have to export and add PHP?

see above links for the mentioned form and test page.


Help with JS code placement
#2

Source? I’ve not heard of this anywhere.


#3

I guess I misintepreted the “hands off custom code”??

“the custom code feature was built to give you more flexibility, and in some cases, our cleanup ended up being more of a limitation, preventing users from employing certain PHP scripts, or templating frameworks like Moustache or Handlebars.”


#4

Hi @erezaie,

the custom code update that will happen the 12th February will only be limited to the removal of the “clean up” we were doing before, but no new features will be added.

The PHP scripts mention in the announcement applies to cases where the code is exported and used in a different hosted environment. Right now, having PHP scripts that run on sites hosted in Webflow is not supported.

I see how the announcement was ambiguous, I hope this helps clarifying it but please let us know if you have any other questions. Thanks!


#5

Thanks for the clarification, forcing me to export is a great way to boost revenue, :slight_smile: only joking thanks javi!