PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hey all, I just joined this great forum and I'm having some problems with my code so it'd be great if someone could give me a hand.
I'm trying to post a comment to a wordpress blog using cURL, and it's not working for some reason. Here's the code :
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
It displays the websites html, I can't copy paste it here since it's too big. I tried changing the $post_fields string and the $url to the signup page, and it successfully made an account. I think the problem is " comment_post_ID=328 ". is there a way to get the comment id automatically using a php code?