473,378 Members | 1,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

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.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
2 1696
kovik
1,044 Expert 1GB
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
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

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

Similar topics

0
by: Andres Baravalle | last post by:
Hi, I have a problem using a URL fetching algorithm (HTTP 1.0). To download an image, I used to use this algorithm: <?php Header("Content-type: image/gif"); $referer =...
1
by: Bib | last post by:
I'm working on a box that allegedly has curl support, but when I run a script that access curl, I get this error: Fatal error: Call to undefined function: curl_init() in...
0
by: chad.arimura | last post by:
Hey all, I've been trying to write a short script using curl w/ php but can't figure something out: I'm simply trying to login to a website using a posted user/pass combo to an html form...
6
by: Wescotte | last post by:
I'm writing a tiny php app that will log into our bank of america account and retrieve a file containing a list of checks that cleared the previous day. The problem I'm running into is when I...
2
by: McHenry | last post by:
I am trying to use curl however am not having any success with a CLI script. Fatal error: Call to undefined function: curl_init() in C:\PHP4\cli\processweb.php on line 65 Windows XP PHP...
1
by: csteimonts | last post by:
Hey there, if it would be possible, since you have figured out the login function of logging into yahoo from PHP CURL, could you post that solution? I'm having quite a time figuring that...
4
by: sandeept | last post by:
Hello, I am trying to access a website which is hosted on secure server. Code looks as follows, <?php //open connection $ch = curl_init(); //set the url, number of POST vars,...
3
by: Meglio | last post by:
Hi experts and professionals. My goal is to automatically download PDF files and convert them to HTML using pdftohtml library. Here is how it works: 1. It downloads PDF file using...
1
by: swethak | last post by:
Hi, i used the curl_init() function in my application. function exchangeToken($token) { $ch = curl_init(); /* Create a CURL handle. */ curl_setopt($ch,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.