473,385 Members | 1,478 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,385 software developers and data experts.

CURL_EXEC

rik
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

Jul 21 '05 #1
1 3507
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

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

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Robert | last post by:
Hello, I am trying to get output formatted from a non-php script that I post to. Example: <form method=POST action=www.myurl.com/ColdFusion.cfm> bla bla bla </form>
0
by: Mike | last post by:
I'm trying to use the curl functions to retrieve a page from a remote webserver and save the content in a variable for further processing. I go through the process of curl_init(), curl_setopt(),...
0
by: nfhm2k | last post by:
I've been trying to find a solution to this for quite some time now... I even took a look at existing scripts... Including this one......
7
by: atorres | last post by:
I've created a mod for processing information posted by a return function from an online payment site. After It processes the information It must post some variables to another mod. I'm just starting...
8
by: princei2007 | last post by:
I want to creat a weblogin client using php to login to this forum or someother. but i am gating with the page that u have to login befor precede. I am new to curl so cannot figure out where the...
10
by: kad123 | last post by:
Hi I need an application to get some data but in order to access that page, you must be logged in (cookies). I need my PHP to login first, get the cookies and then use them to get the page i need?...
3
by: Sarah | last post by:
I was wondering if someone might be able to help me with this issue. I have a feeling this has something to do with my host's server settings as I used to be able to get CURL to follow redirects by...
5
by: Igoogler | last post by:
I am currently trying to return an array from curl and it doesn't seem to be working. What I basically want it to is to search the remote page for some text and then perform and If Then statement. ...
1
by: Suhas Dhoke | last post by:
Hello Raja. Where is the constructor of the class orkut ?? On Oct 24, 1:40 pm, Raja <RajaSa...@gmail.comwrote:
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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.