what is problem with curl_init()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rohitsavalia
    New Member
    • Apr 2007
    • 8

    what is problem with curl_init()

    here is my code:
    =============== =============== =============== =========
    <?
    $ch = curl_init();
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitl ed Document</title>
    </head>
    <body>
    JUST ECHO TEXT
    </body>
    </html>
    =============== =============== =============== ==========

    WHY I M NOT GETTING ANY ECHO IN DOCUMENT BODY... WHAT IS PROBLEM WITH curl_init() function ???

    please help me,
  • kovik
    Recognized Expert Top Contributor
    • Jun 2007
    • 1044

    #2
    Originally posted by rohitsavalia
    WHY I M NOT GETTING ANY ECHO IN DOCUMENT BODY... WHAT IS PROBLEM WITH curl_init() function ???
    You are not doing ANYTHING in your code. All you do is call curl_init().

    Comment

    • rohitsavalia
      New Member
      • Apr 2007
      • 8

      #3
      Originally posted by volectricity
      You are not doing ANYTHING in your code. All you do is call curl_init().
      =============== =============== =============

      thanks for your replay,

      but please look again at my code, i put "JUST ECHO TEXT" in my body tag, and i think it should display..???

      i m telling that curl_init() function generate php error which wipe out my all output.

      Comment

      Working...