Tagged Questions
0
votes
0answers
13 views
Php - Curl - Couldn't resolve host
I already saw that there is a lot of "Couldn't resolve host" questions, but none of them does not give me an answer for this particular case.
Im calling curl on several places in the code (its pretty ...
-1
votes
0answers
10 views
CHANGE COOKIE CURL PHP
i need change value of a cookie with php curl!!!
is possible modify value of cookie?
cookie txt:
# Netscape HTTP Cookie File
# http://curl.haxx.se/rfc/cookie_spec.html
# This file was generated by ...
0
votes
0answers
13 views
FB share photo link can't be accessed using php+curl
I try to take the content of the page https://m.facebook.com/upload.php?source_loc=composer&refid=7 using php+curl
i use the following code (suppose that i have logged in.)
$url= ...
0
votes
0answers
7 views
Using xdebug in netbeans between projects that communicate using curl
I am working on 2 local projects
portal.localhost (PORTAL)
api.localhost (API)
most of the core logic is handled by api.localhost and acts as center of multiple apps. here is situation where ...
1
vote
1answer
27 views
Local Currency Payment verification fails using curl php
I am implementing Facebook's new local currency payments to a canvas app and everything works fine except verifying the payments with a server side Facebook Graph call using PHP curl.
I keep getting ...
0
votes
0answers
14 views
Topsy-php curl, wrong api key
I use this https://github.com/thesmart/php-topsy client for Otterapi but it seems to have bug in curl options in Topsy.php. I get error as my api key is wrong. But then I print that link curl used ...
0
votes
3answers
32 views
is there a maximum size limit to php curl download
is there a maximum size limit to php curl downloads . ie will curl quit when transfer reaches a certain file limit ?
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
...
0
votes
0answers
13 views
Im trying to send message using a gateway which requires login .I dont know what's the error in th code can anyone suggest?
Using curl im saving the cookie from the webpage
<?php
$ch = curl_init("http://www.160by2.com/re-login");
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_VERBOSE, true);
...
0
votes
0answers
14 views
libcurl sending post to php on server (online services with POST), server sees nothing
Pretty basic problem, but im not sure what else to do.
From the code processing my curl request and executing it:
ResponseData Request::exec()
{
CURLcode res = CURL_LAST;
CURL *h = ...
0
votes
0answers
16 views
How to mitigate open CSRF in sharrre cURL script?
I am using a script named sharrre to create nice widgets sharing for Facebook, Twitter and Google Plus but recently I found that the script is open to CSRF and I am not sure if I can patch this one ...
0
votes
2answers
31 views
This cURL code does not work?
I've asked my host plenty of times now if this was on their side, and they said no. Everything in cURL is working/enabled; however, whenever I try the below code, I can never get a connection or page ...
0
votes
0answers
11 views
cURL user-agent Iphone not working
I'm using cURL to scrape some websites. I have set the user-agent to user browser like this:
$url = 'http://someUrl.com';
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
//The ...
0
votes
0answers
16 views
CURLOPT_PROXY not connecting to anything, even with fresh proxies
Here is a picture of what I'm getting: http://i.stack.imgur.com/XhMqc.png
That's the results I get when attempting to test my proxies, even if they're fresh!
Useful cURL class I'm using: ...
0
votes
2answers
29 views
File_get_contents to get the source code of remote page then display only specific div
exactly as its descriped in the title currently my code is:
<?php
$url = "http://www.vipboxsports.me/football/23863/1/chelsea-tv-live-stream-online.html";
$html = str_get_html($url);
...
0
votes
0answers
8 views
Google Drive API error in cron job
I have a cron job in cpanel that connects to google drive to backup the website files and database regularly to google drive account. I simplified the file to spot the problem:
<?php
...