0
votes
0answers
7 views

curl_multi_init and CURLOPT_WRITEFUNCTION without class?

I`m trying to use curl_multi_init but also I want to limit size of downloaded page and for it in past for standard curl call I have used CURLOPT_WRITEFUNCTION option but I can`t get it to work with ...
0
votes
1answer
55 views

Get all Jira Issues for a specified Project with several custom fields using API?

I want to get all Jira Issues for a specified Project with several custom fields using API. I have Jira 4.4.1 installed and want to use curl : curl -kD- -u : -X GET -H "Content-Type: ...
0
votes
1answer
132 views

Jira API Issue - CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set limited options on shared hosting

Im running some code on Atlassian Jira bug system API, here is the code im using $username = 'xxx'; $password = 'xxx'; $url = 'https://xxx.atlassian.net/rest/api/2/issues/?filter=12202'; //$url = ...
0
votes
1answer
16 views

How to fetch a webpage with php curl and display that webpage html?

i am new to php and i want to get a webpage html through the use of php curl...i am not getting the output,am just getting a white page. Can anyone please help? <?php $url=$_POST['txturl']; $ch = ...
0
votes
0answers
23 views

Curl Auto Login Whount Work [on hold]

I am trying to make are autologin for http://www.secretcity.de that i can get information of me Profile in realtime,The Problem are that he sende the data like username and Password to the page but ...
0
votes
1answer
49 views

REST request data can't be read in 'put' method

I'm trying to develop a RESTful API with PHP without using frameworks. While processing the request, the client data cannot be read using this: parse_str(file_get_contents("php://input"), $put_vars); ...
10
votes
5answers
15k views

Show Curl POST Request Headers? Is there a way to do this?

I'm building a Curl web automation app and am having some issue with not getting the desired outcome of my POST action, I am having some trouble figuring out how I can show the full POST request I am ...
1
vote
2answers
130 views

Docusign Tutorial - PHP API cURL Error - “Buffer cannot be null”

I am following docusign's tutorial to create an envelope using their PHP API. Tutorialis found here: http://www.docusign.com/developer-center/quick-start/request-signatures I copied the code and ...
0
votes
0answers
11 views

Guzzle get the returned page

I was trying to get the HTML that is returned by my guzzle but I can't get it to work. If I try $response->getBody(true) it returns nothing, and when I leave the true it returns a EntityBody ...
1
vote
1answer
64 views

After installing curl extension php stop working

on my working ubuntu 12.04 server i installed the curl extension for php with the commands: apt-get install curl apt-get install php5-curl service apache2 restart after doing that php stop working ...
1
vote
1answer
20 views

preg_replace url to get id

I would like to replace urls in a page with curl in php. Urls are like; http://www.externalwebsite.com/title-of-the-page-192345.htm I use $url = preg_replace('~a href="([a-z,.\-]*)~si', '"', ...
0
votes
0answers
15 views

Login and add a contact to Microsoft Live Outlook.com API

I'm setting up a wordpress cron job that basically syncs contacts to my Outlook.com account using the Live Outlook REST API call. The challenge is that it requires an access token to call the REST ...
0
votes
0answers
25 views

how to pass accept conditions with php curl?

Well, I have this problem. I need to recover an XML from this site through php cUrl, but to access the page, you need to accept the conditions. That form sets a session cookie to let you see the page. ...
0
votes
0answers
21 views

whats wrong with my cURL using proxy that resulted to blank page?

I searched stackoverflow and online and have tried all related possible solution to my problem and its still did not solved my issue. thats why I ended up opening this question. so below is my code: ...
0
votes
1answer
20 views

Cron job executes in browser but not in terminal

Hello i'm having problems running this cron script in the terminal, http://subdomain.website.com/database.php?password=mypassword When I paste this cron script in the browser it works and downloads ...

15 30 50 per page