Error 500 with PHP in Iframe [closed]

0

I have a iframe that loads a PHP page which is used to enter notes in a MySQL table. The notes are entered from a simple form with input . The form is sent to the page loaded in iframe , which receives the data of input and saves it in the database.

The problem is that the code works perfectly in local, but when uploading it to the server, it gives me the error 500. Does anyone know what it is?

    
asked by jose_smt 02.11.2017 в 18:24
source

1 answer

1

A 500 error is not an iframe problem. If it's server-side. Did you check the .htaccess file? It might block from there. Is the iframe configured correctly? The iframes is that they are nothing different to access the page directly. If you can access the page on the live site without the iframe, the iframe is misconfigured.

    
answered by 02.11.2017 в 18:32