Admin-Ajax Cannot be Read by PHP? (1 post)

  1. Andrew Stephens
    Posted 5 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 5 years ago by Andrew Stephens
  • This topic is not resolved
  • WordPress version: 3.0.4