• I’ve been working on a dashboard-type page on my computer that is able to check all of the various WordPress sites I manage and tell me if there are any updates available that I should take care of. Everything works fine except for one key link: When I try to open the admin-ajax.php on the remote site, all that I get is “-1”. I’ve tried the exact same URL in the browser and it gives me my information exactly as it should (it’s in JSON format, if you’re interested), but for some reason I can’t load it through curl or fopen() in PHP. Is there something wrong with using admin-ajax for this?

  • The topic ‘Admin-Ajax Cannot be Read by PHP?’ is closed to new replies.