cURL is a library and command-line tool for transferring data using several protocols such as HTTP, FTP and Telnet.

learn more… | top users | synonyms

0
votes
0answers
6 views

why not the curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); not working in xampp

I Am a trouble.. i got a php script, which use curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); And Its Working Fine On My Hosting. But Its Not Working on my Localhost (xampp). in php.ini ...
1
vote
0answers
8 views

UNIX execute parallel curls base on script parameter

I have to send some cURL request in a parallel way. At one side I have the curl.sh script (for security reasons data has been hidden): #!/bin/bash SERVER=... PORT=... CONTEXTPATH=... SERVICE=... ...
0
votes
1answer
12 views

phpUnit - Functions in test class that aren't tests

I'm doing some speed comparisons between reports in phpunit, as I am trying to figure out an optimization problem. I have a couple of functions that aren't necessarily tests, but don't belong in the ...
-2
votes
1answer
33 views

Why doesn't CURL work with this page?

I'm trying to return a Google Plus page with CURL, but it just gives me a blank page. Any ideas on what the problem may be? Here's my code: function get_data($url) { $ch = curl_init(); $timeout = 15; ...
0
votes
1answer
19 views

fetching data from other website error and how

I am working on a project and for that I have to fetch data from indianrail.gov.in I will be having a website and user will give source,destination and date. After clicking submit, I want to first ...
0
votes
0answers
61 views

PHP solution to JSON responses and parameters

I feel each step i take this one 5 more walls come up its fun but also frustrating. So I'm trying to login to a website through cURL and after a lot of head scratching and the use of firefox ...
0
votes
0answers
15 views

Not getting response on mobile device using curl

I have an API on my server which returns response to mobile devices. I am actually getting response from remote server. My code is $post_data['input_image_1'] = ...
0
votes
0answers
7 views

cURL - How to make cURL sessions/cookies behave the same as a regular web browser?

My goal here is to able to access a site via cURL. I want cURL to match what a regular browsers does to access a page. I have been trying to compare sessions when using cURL (using a cookiejar) and ...
0
votes
0answers
8 views

php curl http get request delayed response

i am sending a get request <pre> ...
0
votes
1answer
24 views

Javascript emulation solutions for php and cURL [closed]

I am trying to login to a website through curl and I've realized that the site usees javascript so nothing loads when I run my script. I was wondering if you guys knew of any strategies that got ...
-7
votes
0answers
25 views

in php cURL which proxy should i prefer ? [closed]

i wonder to know, which type of proxies give best result with php cURL and http tunneling, http ? sock4 ? sock 5 ? Transparent ? Anonymous ? Thanks for advice.
0
votes
1answer
18 views

how to get a div command structured result in virustotal api v2 for php?

i am doing one project in virustotal api v2 and i am downloading virustotalapiV2 from this website http://www.ab-weblog.com/en/php-script-for-accessing-virustotal-api-version-2-0/.i have my public key ...
2
votes
1answer
31 views

Can anyone give me an example for PHP's CURLFile class?

I had a very simple PHP code to upload a file to a remote server; the way I was doing it (as has been suggested here in some other solutions) is to use cUrl to upload the file. Here's my code: $ch ...
0
votes
0answers
15 views

CURL on a specific PHP form

I have a specific form where I try to connect via CURL in PHP : <form method="POST" action="/index.php?action=login"> <p>Identifiant :</p> <p><input type="text" ...
0
votes
0answers
10 views

cURL NTLM Proxy Authorization

I have been using curl for some time now and its working fine but with a proxy which uses users 'domain\username' to authenticate curl fails asking for Authorization. Authorization method is NTLM. ...

1 2 3 4 5 595
15 30 50 per page