SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: help on curl

  1. #1
    SitePoint Zealot cachobong's Avatar
    Join Date
    Jan 2005
    Location
    cebu
    Posts
    173
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    help on curl

    hi guys! i really need help on curl posting XML, here it is, i have 2 pages 1 pages posts the XML to the second page using curl and processes it...i want the value to be returned to the first page using this:

    Code:
    $result_data = curl_exec($ch);
    the code above is in the first page...i used return but it doesnt seem to work...what should i do? i want $result data to be populated with the processed data..pls help!

  2. #2
    SitePoint Member
    Join Date
    Mar 2004
    Location
    NorthWest USA
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Curl requires a sequence of commands to work, see

    http://us2.php.net/manual/en/function.curl-exec.php


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •