By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,341 Members | 1,553 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,341 IT Pros & Developers. It's quick & easy.

what is problem with curl_init()

P: 8
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.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled 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,
Jul 31 '07 #1
Share this Question
Share on Google+
2 Replies


kovik
Expert 100+
P: 1,044
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().
Aug 1 '07 #2

P: 8
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.
Aug 1 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.