Zach Borboa
efbc9d2df7
Return error code when calling get, post, put, patch, and delete methods
2013-12-13 20:31:04 -08:00
Zach Borboa
8d202377e3
Declare method visibility
2013-12-13 20:25:33 -08:00
Zach Borboa
ef033e1d4c
Clean up coding style
2013-12-13 20:00:43 -08:00
Zach Borboa
a88cd8a404
Fix numeric data values not being correctly encoded
2013-12-12 21:27:07 -08:00
php-curl-class
55506c4411
Merge pull request #7 from DaniSancas/master
...
Fixes issue #6 "Integer params inside data array aren't taken in account"
2013-12-12 21:17:11 -08:00
Dani Sanchez
7deb2e0aa2
Fixes issue #6 "Integer params inside data array aren't taken in account"
...
Makes the http_build_multi_query method to be also able to add integers inside the data array
Signed-off-by: Dani Sancas <dani@sancas.es >
2013-12-12 08:38:02 +01:00
Dani Sanchez
67bcd262dd
Merge branch 'master' of https://github.com/php-curl-class/php-curl-class into php-curl-class-master
...
Conflicts:
Curl.class.php
2013-12-12 08:34:58 +01:00
Dani Sanchez
202cd4e785
Fixes issue #6 "Integer params inside data array aren't taken in account"
...
Makes the http_build_multi_query method to be also able to add integers inside the data array
Signed-off-by: Dani Sancas <dani@sancas.es >
2013-12-12 08:06:14 +01:00
Zach Borboa
5ead0ee6dc
Fix #4 : Arrays inside the data array loses its indexes
2013-12-11 22:05:54 -08:00
Zach Borboa
db0ddc4b36
Add is_array_assoc() and array indexed and associative tests
2013-12-11 21:18:57 -08:00
Dani Sanchez
f705db4817
Fixes issue #4 "Arrays inside the data array loses its indexes"
...
Prevents the nested arrays inside the data array to lose its indexes.
Signed-off-by: Dani Sancas <dani@sancas.es >
2013-12-05 11:50:33 +01:00
zachborboa
7b8fd042d0
Merge pull request #2 from user52/patch-2
...
Add is_array_multidim()
2013-09-08 01:32:46 -07:00
user52
f212927abd
Add is_array_multidim()
2013-09-08 00:53:47 -07:00
php-curl-class
756fec23c0
Merge pull request #1 from user52/patch-1
...
Fix "Notice: Array to string conversion"
2013-08-28 11:59:54 -07:00
user52
9769e18dd8
Fix "Notice: Array to string conversion"
...
Fix "Notice: Array to string conversion" when $value in curl_setopt($ch, CURLOPT_POSTFIELDS, $value) is an array that contains an empty array. Example that causes Notice:
$data = array(
'foo' => 'bar',
'baz' => array(
),
);
2013-08-28 08:47:37 -07:00
php-curl-class
29e39ced39
Percent-encode + to %20
2013-08-25 21:13:30 -07:00
php-curl-class
dc9bb513ec
Use http_build_multi_query() to build POST data string containing multiple values for the same key
2013-08-24 13:04:02 -07:00
php-curl-class
bc96a04df4
Add ability to POST multidimensional array of data
2013-08-23 17:09:45 -07:00
php-curl-class
1f78da3cbf
Fix value of response when http response headers contains HTTP/1.1 100 Continue
2013-08-23 05:12:22 -07:00
php-curl-class
83c7fc76ab
Set error code and error message when there is an error; Change http error code to http status code
2013-08-23 03:22:40 -07:00
php-curl-class
eead7179d6
Move response after response headers
2013-08-23 01:39:56 -07:00
php-curl-class
c3d3d301fd
Set http error message when available
2013-08-23 01:38:43 -07:00
php-curl-class
06a7470dd4
Set error message from curl error or http error when applicable
2013-08-23 01:28:56 -07:00
php-curl-class
6f4937c75d
Use consistent default values for error messages
2013-08-23 01:23:37 -07:00
php-curl-class
a8c66fd910
Set error_code on curl error or http error; Initialize variables set after curl_exec() is called
2013-08-23 01:09:02 -07:00
php-curl-class
0ad3f7a2aa
Merge branch 'master' of github.com-php-curl-class:php-curl-class/php-curl-class
...
* 'master' of github.com-php-curl-class:php-curl-class/php-curl-class:
Remove TODO completed
2013-08-23 01:00:05 -07:00
php-curl-class
aa7f191f87
Remove TODO completed
2013-08-23 00:59:21 -07:00
php-curl-class
2e5f9ceb62
Add additional assertion for error test
2013-08-22 16:59:44 -07:00
php-curl-class
5d4e0d501a
Separate curl error and curl error code from http error and http error code
2013-08-22 15:59:47 -07:00
php-curl-class
9ac87e0b19
Add verbose() method
2013-08-21 16:25:07 -07:00
php-curl-class
fdcb99c1e9
Add PUT file handle test
2013-08-21 16:17:06 -07:00
php-curl-class
ef3f5202c5
Clean up helper functions
2013-08-21 15:21:54 -07:00
php-curl-class
445f3d2e3a
Separate PUT tests
2013-08-21 15:17:17 -07:00
php-curl-class
eaf8b14e16
Add POST file path upload test
2013-08-21 12:46:30 -07:00
php-curl-class
52ff874771
Move helper class Test to separate include
2013-08-21 12:37:55 -07:00
php-curl-class
d52e1744d1
Change server tests to use data parameter
2013-08-21 11:57:44 -07:00
php-curl-class
6e38f1bc71
Separate POST tests
2013-08-21 11:43:03 -07:00
php-curl-class
572c62cb50
Use const base test url
2013-08-21 11:41:28 -07:00
php-curl-class
fd4b2583b5
Clean up
2013-08-20 17:16:39 -07:00
php-curl-class
7ab095ebae
Add DELETE test
2013-08-20 17:11:16 -07:00
php-curl-class
c63bee9447
Clean up
2013-08-20 17:10:28 -07:00
php-curl-class
7d7c0d69c9
Add PUT tests
2013-08-20 17:03:28 -07:00
php-curl-class
327e112d32
Merge branch 'master' of github.com-php-curl-class:php-curl-class/php-curl-class
...
* 'master' of github.com-php-curl-class:php-curl-class/php-curl-class:
Add setHeader() example to README
2013-08-20 16:56:10 -07:00
php-curl-class
4c1a842cc4
Send PUT data values as GET parameters
2013-08-20 16:55:24 -07:00
php-curl-class
b5c516ec34
Separate post, server, and cookie tests
2013-08-20 16:26:58 -07:00
php-curl-class
b6982ffb46
Send DELETE data was GET variables; Add DELETE test
2013-08-20 16:26:09 -07:00
php-curl-class
1ea722889b
Add setHeader() example to README
2013-08-20 15:34:21 -07:00
php-curl-class
94982c6450
Add setHeaders() method and test
2013-08-20 15:29:35 -07:00
php-curl-class
36c71bd2d3
Add response headers to curl object
2013-08-19 18:52:23 -07:00
php-curl-class
e80136494c
Include request headers in curl object
2013-08-19 17:59:58 -07:00