CURL_EXEC

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rik

    #1

    CURL_EXEC

    I am using the CURL_EXEC function to obtain a webpage.

    However, I would like to be able to amend the data I have remotely
    obtained before printing it out. The CURL_EXEC function automatically
    prints the data out. Is there anyway of obtaining the web page data
    either using CURL or another method that will allow me to edit before
    displaying.

    Thanks,

    Rik

  • ZeldorBlat

    #2
    Re: CURL_EXEC

    curl_setopt($ch , CURLOPT_RETURNT RANSFER, true);

    curl_exec($ch) will now return the output of the transfer rather than
    display it.

    Comment

    Working...