Forum Academy Marketplace Showcase Pricing Features

Possible to run php script on button click?

I have a very simple php script I would like to have run when a button is clicked. The php script sends a command to an external server, so I’m not trying to change anything within the bubble app, I just want it to run the php script.

Anyone able to provide some hints or suggestions on what to look into to get something like this to work?

You can not run the PHP script on Bubble. What you can do is an API call to your PHP script located somewhere else.

Make your PHP script accessible at HTTP requests, then make a call to that URL in Bubble when your button is clicked. - The first freelance marketplace dedicated to Bubble programmers - Royal Bubble templates for startups


This topic was automatically closed after 70 days. New replies are no longer allowed.