PHP Curl and AJAX Websites

by 3 replies
10
Hi,

I'm really wondering how to use curl and php to post forms in ajax websites
i already used curl to submite html forms but for ajax websites i don't see how to deal with it, for exemple how to submit a bookmark at jumptags.Com

any help ?
#programming #ajax #curl #php #websites
  • Well depending on what protocol that the AJAX method is expecting you would either send the message using JSON or XML. You'd have to examine the source code to know for sure.

    If you are using firefox, you can use the firebug extension to allow you to see the exact message that is being sent over AJAX and you can program your methods around that.
    • [ 1 ] Thanks
  • Thanks caesargus
    Any exemple, Tutorials, Codes ??
  • This might be helpful:
    PHP and Curl - Get Ajax data - Stack Overflow

    There is a link below the source code section. I hope the info helps.

Next Topics on Trending Feed