0
votes
0answers
15 views

PHP cURL post to same site returns 1, with no error, and no info and no actual post made

I'm working on using cURL to pass paypal IPN data from our WooCommerce WordPress IPN responder to our ASP.NET based licensing code which resides on the same server. I had this working before when the ...
0
votes
1answer
23 views

Cant login to remote site with CURL

I'll be straightforward with you. I'm trying to make a script to automatically log me into the website: https://www.majesticseo.com/account/login The site seems to be using a "POST" form method. This ...
0
votes
2answers
46 views

PHP - Safe way to download large files?

Information There are many ways to download files in PHP, file_get_contents + file_put_contents, fopen, readfile and cURL. Question? When having a large file, let's say 500 MB from another server ...
3
votes
2answers
27 views

Strange chars in JSON (obtained after cURL auth)

This is the function I use to grab a JSON file from Feedbin API. <?php error_reporting(E_ALL); // JSON URL which should be requested $json_url = 'https://api.feedbin.me/v2/entries.json'; ...
0
votes
1answer
33 views

replicating command line cURL in PHP

I'm integrating with a 3rd party's API, I have to POST some XML and I get some XML back. On the CLI this works, I get a positive response. curl -X POST -d @/tmp/file http://url/to/endpoint --header ...
1
vote
2answers
28 views

php curl select box values

I'm trying to get the values (preg_match) of an select list from one website. HTML on website: <select name="country_id" id="country_id"> <option value="vi">Vietnam</option> ...
0
votes
0answers
16 views

What to do with extra HTTP header from proxy?

Our environment requires the use of an outbound proxy for offsite services. Normally this isn't a problem. In this case with Twilio, the extra header returned breaks the client. Outgoing headers: ...
0
votes
0answers
15 views

Retrieving url feed with curl return empty?

I need to retrieve the XML content from this URL : http://www.ardmasr.com/MasrenaRss.aspx?Category=4 always return an empty string with out any errors, code: $curl = curl_init(); curl_setopt ...
1
vote
2answers
56 views

Save image from URL using PHP (saves in 0KB file size)

What I'm trying to do: file_get_contents() an online image, then save it to a directory on my server, with a new filename. The save path / directory is writable. CHMOD permissions: 777 What ...
1
vote
0answers
25 views

Post multiple files and data

Im trying to upload several files and values at the same time through CURL, but somehow my server's $_FILES keeps getting empty. My 'text'-data array is: $data = array('value' => 'test', ...
1
vote
0answers
21 views

Scraping .net (ajax) pages

I am building a PHP based scraper for a local search engine. Many .net websites are using ajax (_dopostback) to navigate through the content without a query submission: ...
1
vote
1answer
31 views

PHP curl_init load ballance multiple servers

I've got a service that is calling a REST server. I'm using CURL to make the request. We have three endpoints to use for distributing the load. I could create some basic logic that would "randomly" ...
2
votes
2answers
76 views

remote login to Amazon using curl / php

I've made myself a test project to log in to Amazon using cURL and PHP, but after hours of going in circles, I think I have to admit defeat. I was wondering if anyone could tell me were I've gone ...
1
vote
1answer
1k views

Set up a php proxy to access censored websites and bypass firewall

I'm currently using this plugin http://wordpress.org/extend/plugins/repress/ which basically makes my website a proxy so that users can access censored websites like this ...
0
votes
2answers
108 views

CURL data in array

I am using cURL to fetch data from another site into my application. I am getting the data in exactly the same format as it is displayed on the browser. What I need is to get the data in a form of an ...

1 2 3 4 5 407
15 30 50 per page