• I am trying to organize data from a number of different news sites that I operate. I currently use a different CMS for these sites, but I also have a number of blogs that I maintain with relevant content and I use wordpress for those.

    Now, what I’m trying to do is from the news site I have an admin panel where I would like to click a button to post it out to a blog, for instance. Now, when I click that button I am able to retrieve the necessary information from the news site, but I can’t seem to get it to post to the blog.

    I’m not exactly sure what the issue might be or if this can even be done. I’m currently trying to submit it by submitting code within an iFrame. Is there some sort of authentication that isn’t taking place (since these are on different domains) that might be causing the problem? I was wondering if there is a simply solution using Curl or something like that, that someone may have come across that they could refer me to.

    I’ve tried googling it and such but I can’t seem to find anything, and this form submission script I’m using doesn’t seem to work at all. Would love to be able to just build a URL with the post info and send it along. I’m just not sure how that can get authenticated, unless I am able to send user along with it, plus the password.

    Any ideas on this? I’m completely stumped.

  • The topic ‘Posting via PHP Script’ is closed to new replies.