Can i execute a PHP file located on another server?

I’m trying to run a custom PHP script in Webflow.
I understand Webflow don’t allow PHP files or PHP language.

Is it possible to host a PHP file on domain1.com, and execute the script on domain2.com (Webflow site?

Using the XMLHttpRequest method? I’m trying but I receive CORS error in console.

Anybody know how to bypass or do this the right way?

Hi Josef,

Not enough information to answer your question… I’d need a lot more detail on what you’re trying to do. A specific example site and php is best.

Of course you can run a PHP script on another server, but it’s just a PHP script on another server. What are you trying to do with that script?

Yes, it was possible to run a scraper on external site and show results in Webflow with JS Fetch.