A
A
Alexander Gamov2017-01-13 17:42:20
PHP
Alexander Gamov, 2017-01-13 17:42:20

How to connect your php scripts to Bitrix?

I actually wrote my own script that processes the data received by the post and sends it to a third-party site (working with you), plus it includes one more file with my class.
I expected that it would be enough to insert the form on the site and indicate the location of the script file, but when sending it, it gives a 500 error.
Tell me how to do it right.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Gamov, 2017-01-14
@slowdream

Actually, Maxim Grechushnikov was right - the error really was in the script. Out of habit, arrays were written according to the new syntax, and the old version of php melted on the server and instead of giving an error (even when they are enabled), the server simply threw a 500 error.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question