I am making a web application in PHP and want to read content from a other domain.
For that i have to options fopen and curl but what are the differences like security / options etc.?
and what is the best way to use and why ?
does it matter if the url from the other domain is a http or https site ?
...
curlpp: how to redirect output of method Perform to the file?
...
I'm using a 'rolling' cURL multi implementation (like this SO post, based on this cURL code). It works fine to process thousands of URLs using up to 100 requests at the same time, with 5 instances of the script running as daemons (yeah, I know, this should be written in C or something).
Here's the problem: after processing ~200,000 urls...
There is a contact form which current action is "http://www.siteA.com/ContactInfo.php", it sends fields and values.
In ContactInfo.php, i just catch the values and send and email to [email protected]
BUT, inside ContactInfo.php, I need to send the same data to another destination, in other domain http://wwws.SiteB.com/Reg.aspx
I have tryed out to...
I'm working with PHP and need to parse a number of fairly large XML files (50-75MB uncompressed). The issue, however, is that these XML files are stored remotely and will need to be downloaded before I can parse them.
Having thought about the issue, I think using a system() call in PHP in order to initiate a cURL transfer is probably th...
I am using Curl (libcurl) in a C++ aplication, and am unable to send cookies (I think).
I have Fiddler, TamperData and LiveHTTP Headers installed, but they are only useful for viewing browser traffic, and are (it would seem) unable of monitoring general network traffic on a machine, so when I run my machine, I cant see the header infor...
Hello,
I will be transmitting purchase info (like CC) to a bank gateway and retrieve the result by using Django thus via Python.
What would be the efficient and secure way of doing this?
I have read a documentation of this gateway for php, they seem to use this method:
$xml= Some xml holding data of a purchase.
$curl = `/usr/bin/curl ...
How can i download the html content of a webpage given an url? using objective c..
...
How to add curl support to PHP 5 in CentOS ?
After installing curl and curl-devel, what are the things that I need to do to setup curl in PHP 5
...
Using cURL to scrape a secure (i.e. login) page, and I'm at my wits' end. I managed to successfully scrape two sites with little or no problems, and now I just can't log into this one. cURL gets all the pages I ask it to, but they're all not logged in, which doesn't help. So maybe someone could spot a mistake I've missed?
The code is:
...
Hi, I am trying to dismiss a modalviewcontroller with a page curl. The curl works okay but I cannot seem to get the tableview under the modalviewcontroller to show up. The image of the modalviewcontroller is still under the curled away page. If I dismiss the modalviewcontoller before the animation finishes the animation doesn't show up. ...
I'm trying to simulate browser with POST method using PHP/cURL.
When I looked at that live Http header it shows Content-Type: multipart/form-data.
I checked on the internet where it was suggested that cURL will send multipart/form-data when a custom headers is specified to Content-Type: multipart/form-data.
$headers = array(
'Con...
Hello,
I want to get a HTML and use like a file in C. Actually I can do that, but I have to save the file first on the disk and then use fopen("/file.html", "r");. What I would like to do is to extract the html directly from the URL and work with it.
Hypothetically, fopen("http://www.google.com", "r");
I saw something about libcurl bu...
hello, is there a way to convert this into javascript?
<?php
$url = 'http://www.yourdomain.com/';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
echo $output;
?>
...
We have a report queue that can get clogged with no good method to monitor.
We have a web page in Oracle report builder that can display how reports are in the queue
Should always be 1 or 0
So I want to create a bash script to use curl to grep for
1-10 of 10
and if 10 of 10 is not equal
ie 10 of 50 to return the first match.
...
I wish to use a command-line application, like cURL, to do some test posts to my test twitter account. I also wish to do this with OAuth authentication.
How I can do this? Assume I already have created an application, in Twitter, and received my keys and stuff.
(Also, please make sure you specify which key to use, and where, in the com...
I have looked all around and only found solutions for python 2.6 and earlier, NOTHING on how to do this in python 3.X. (I only have access to Win7 box.)
I HAVE to be able to do this in 3.1 and preferably without external libraries. Currently, I have httplib2 installed and access to command-prompt curl (that's how I'm getting the source ...
Hi
Here in Switzerland, people under 26 that have a cell phone contract with Swisscom can send 500 sms per month for free using the website https://xtrazone.sso.bluewin.ch/.
Until a few days ago, this site was structured quite simply, it had a login and an inputbox to enter the sms. That's why i wrote a perl script (http://github.com/g...
Hi,
what is the simplest script using cURL of clicking a certain button on a website?
Thanks
...