php - file_get_contents failed to open stream: HTTP request failed -


i trying use wp-authentication server. have login.php file:

<?php     $content=file_get_contents("http://xxx/custom_login.php");     echo $content; ?> 

and custom_login.php, on site:

<?php      require('wp-blog-header.php');  ?> 

i think breaks. although, when called on own, custom_login.php works fine.

can fix this?


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - IIFE: var vs this - is there any difference? -

r - Grow a ffdf data frame on disk gradually -