Skip Navigation
Using PHP function file_get_contents
Answer ID 7445   |   Last Review Date 01/05/2022

Can I use the PHP function file_get_contents() within my Customer Portal pages?


Customer Portal all versions


Yes, in legacy pods as long as the URL you are passing is setup to allow HTTP. 

No, in OCI pods, those do not allow traffic over port 80 (HTTP) and the PHP build does not support file_get_contents using HTTPS.