¡@

Home 

php Programming Glossary: curl

Simplest PHP example for retrieving user_timeline with Twitter API version 1.1

http://stackoverflow.com/questions/12916539/simplest-php-example-for-retrieving-user-timeline-with-twitter-api-version-1-1

11th 2013 the script below does not work anymore. Create curl resource ch curl_init Set url curl_setopt ch CURLOPT_URL http.. below does not work anymore. Create curl resource ch curl_init Set url curl_setopt ch CURLOPT_URL http twitter.com statuses.. work anymore. Create curl resource ch curl_init Set url curl_setopt ch CURLOPT_URL http twitter.com statuses user_timeline..

Php $_REQUEST vs $_GET and $_POST

http://stackoverflow.com/questions/1924939/php-request-vs-get-and-post

How to get thumbnail of YouTube video link using YouTube API?

http://stackoverflow.com/questions/2068344/how-to-get-thumbnail-of-youtube-video-link-using-youtube-api

maybe YouTube's API and get the video thumbnail using PHP curl Is that possible php youtube youtube api share improve this..

How to post data in PHP using file_get_contents?

http://stackoverflow.com/questions/2445276/how-to-post-data-in-php-using-file-get-contents

speaking to send HTTP POST requests we tend to use curl which provides a lot of options an all but streams are one of..

PHP: Remote file size without downloading file

http://stackoverflow.com/questions/2602612/php-remote-file-size-without-downloading-file

http my_url my_file.txt without downloading the file php curl share improve this question Found something about this here.. by url or 1 if the size could not be determined. function curl_get_file_size url Assume failure. result 1 curl curl_init url.. function curl_get_file_size url Assume failure. result 1 curl curl_init url Issue a HEAD request and follow any redirects...

How to post JSON to PHP with curl

http://stackoverflow.com/questions/813487/how-to-post-json-to-php-with-curl

to post JSON to PHP with curl I may be way off base but I've been trying all afternoon to.. way off base but I've been trying all afternoon to run the curl post command in this recess PHP framework tutorial. What I don't.. to interpret my POST it always comes up as an empty array. curl i X POST d ' screencast subject tools ' http localhost 3570..

How do I make an asynchronous GET request in PHP?

http://stackoverflow.com/questions/962915/how-do-i-make-an-asynchronous-get-request-in-php

will wait for the page to load fully etc php http curl asynchronous share improve this question file_get_contents.. searchbrowser 2008 06 how to post an.html function curl_post_async url params foreach params as key val if is_array..

How can one check to see if a remote file exists using PHP?

http://stackoverflow.com/questions/981954/how-can-one-check-to-see-if-a-remote-file-exists-using-php

testing share improve this question You can instruct curl to use the HTTP HEAD method via CURLOPT_NOBODY. More or less.. the HTTP HEAD method via CURLOPT_NOBODY. More or less ch curl_init http www.example.com favicon.ico curl_setopt ch CURLOPT_NOBODY.. More or less ch curl_init http www.example.com favicon.ico curl_setopt ch CURLOPT_NOBODY true curl_exec ch retcode curl_getinfo..

PHP CURL not working - WAMP on Windows 7 64 bit

http://stackoverflow.com/questions/10939248/php-curl-not-working-wamp-on-windows-7-64-bit

7 64 bit I got my wamp installed on my windows 7 64bit. cURL is not working still even i got it enable from the wamp tray...

cURL equivalent in JAVA

http://stackoverflow.com/questions/116650/curl-equivalent-in-java

equivalent in JAVA I am tasked with writing an authentication.. some example php code that accesses the widget which uses cURL to handle the transfer. My question is whether or not there.. transfer. My question is whether or not there is a port of cURL to JAVA or better yet what base package will get me close enough..

Verify receipt for in App purchase

http://stackoverflow.com/questions/1298998/verify-receipt-for-in-app-purchase

your http post here is your favorite HTTP post mechanism. cURL is one possible choice. YMMV. PHP.net has the scoop One thing..

How to enable cURL in PHP / XAMPP

http://stackoverflow.com/questions/1347146/how-to-enable-curl-in-php-xampp

to enable cURL in PHP XAMPP Could anybody tell me how to enable cURL in PHP.. cURL in PHP XAMPP Could anybody tell me how to enable cURL in PHP php curl xampp share improve this question Since..

Passing $_POST values with cURL

http://stackoverflow.com/questions/28395/passing-post-values-with-curl

_POST values with cURL How do you pass _POST values to a page using cURL php post.. with cURL How do you pass _POST values to a page using cURL php post curl share improve this question Should work fine...

Can't connect to HTTPS site using cURL. Returns 0 length content instead. What can I do?

http://stackoverflow.com/questions/316099/cant-connect-to-https-site-using-curl-returns-0-length-content-instead-what-c

connect to HTTPS site using cURL. Returns 0 length content instead. What can I do I have a site.. instead. What can I do I have a site that connects using cURL latest version to a secure gateway for payment. The problem.. version to a secure gateway for payment. The problem is cURL always returns 0 length content. I get headers only. And only..

Make curl follow redirects?

http://stackoverflow.com/questions/3519939/make-curl-follow-redirects

php redirect curl share improve this question To make cURL follow a redirect use curl_setopt ch CURLOPT_FOLLOWLOCATION..

Get Title and Meta Tags of External site

http://stackoverflow.com/questions/3711357/get-title-and-meta-tags-of-external-site

will not be able to do it if it's invalid HTML Can cURL do something like this with preg_match Facebook does something..

Pulling Track Info From an Audio Stream Using PHP

http://stackoverflow.com/questions/4911062/pulling-track-info-from-an-audio-stream-using-php

directly. Don't use HTTP. Well you could probably use cURL but it will likely be much more hassle than its worth. You connect..

PHP Redirect with POST data

http://stackoverflow.com/questions/5576619/php-redirect-with-post-data

payment gateway. The problem is how to do POST in page B. cURL able to POST the data to Page C but the problem is the page..

SFTP from within PHP

http://stackoverflow.com/questions/717854/sftp-from-within-php

share improve this question Yes you can do that with cURL . To switch from FTP to SFTP all you have to do is to change.. protocol option form CURLPROTO_FTP to CURLPROTO_SFTP . cURL supports following protocols HTTP HTTPS FTP FTPS SCP SFTP TELNET..

Saving image from PHP URL using PHP

http://stackoverflow.com/questions/724391/saving-image-from-php-url-using-php

file_put_contents img file_get_contents url Else use cURL ch curl_init 'http example.com image.php' fp fopen ' my folder..

PHP CURL not working - WAMP on Windows 7 64 bit

http://stackoverflow.com/questions/10939248/php-curl-not-working-wamp-on-windows-7-64-bit

CURL not working WAMP on Windows 7 64 bit I got my wamp installed..

GCM with PHP (Google Cloud Messaging)

http://stackoverflow.com/questions/11242743/gcm-with-php-google-cloud-messaging

will send a GCM message to multiple registration IDs via CURL. If you receive an Unavailable error code when you try to send.. Set the url number of POST vars POST data curl_setopt ch CURLOPT_URL url curl_setopt ch CURLOPT_POST true curl_setopt ch CURLOPT_HTTPHEADER.. POST data curl_setopt ch CURLOPT_URL url curl_setopt ch CURLOPT_POST true curl_setopt ch CURLOPT_HTTPHEADER headers curl_setopt..

get_headers Inconsistency [closed]

http://stackoverflow.com/questions/12781795/get-headers-inconsistency

validating URL See Live Demo UPDATE 1 Got to find out that CURL also has the same issue curl curl_init curl_setopt_array curl.. the same issue curl curl_init curl_setopt_array curl array CURLOPT_RETURNTRANSFER true CURLOPT_URL 'idontexist.tld' curl_exec.. curl_setopt_array curl array CURLOPT_RETURNTRANSFER true CURLOPT_URL 'idontexist.tld' curl_exec curl info curl_getinfo curl..

How can I create a new Joomla user account from within a script?

http://stackoverflow.com/questions/1904809/how-can-i-create-a-new-joomla-user-account-from-within-a-script

accounts. We were originally thinking about just doing a CURL call to submit the signup form but we realized that there is..

file_get_contents with https?

http://stackoverflow.com/questions/1975461/file-get-contents-with-https

credit card processing and needed to use a workaround for CURL and the following code worked fine when I was using the test..

Is there a PHP equivalent of Perl's WWW::Mechanize?

http://stackoverflow.com/questions/199045/is-there-a-php-equivalent-of-perls-wwwmechanize

fields along with all links on the page. I know about CURL but it's a little too barebones and the syntax is pretty ugly.. To do the same thing using HTTP_Client or wget or CURL would be a lot of work I'd have to manually parse the pages..

How to implement a web scraper in PHP?

http://stackoverflow.com/questions/26947/how-to-implement-a-web-scraper-in-php

Scrapers A Guide to Developing Internet Agents with PHP CURL on this topic see a review here PHP Architect covered it in..

Attach image to Facebook event (php sdk, rest or graph api) [duplicate]

http://stackoverflow.com/questions/3095099/attach-image-to-facebook-event-php-sdk-rest-or-graph-api

Description The key part The path to the file with the CURL syntax event_info basename file '@' . realpath file Make the..

cURL , get redirect url to a variable

http://stackoverflow.com/questions/4062819/curl-get-redirect-url-to-a-variable

share improve this question You would use curl_setopt CURL CURLOPT_HEADER TRUE And parse the headers for the location header.. improve this question You would use curl_setopt CURL CURLOPT_HEADER TRUE And parse the headers for the location header..

How do I send a POST request with PHP?

http://stackoverflow.com/questions/5647461/how-do-i-send-a-post-request-with-php

php http post request share improve this question CURL less method with PHP5 url 'http server.com path' data array..

PHP CURL HTTPS causing exception SSL certificate problem, verify that the CA cert is OK

http://stackoverflow.com/questions/6400300/php-curl-https-causing-exception-ssl-certificate-problem-verify-that-the-ca-cer

CURL HTTPS causing exception SSL certificate problem verify that..

GET vs. POST Best Practices

http://stackoverflow.com/questions/679013/get-vs-post-best-practices

to look like the original link I am not familiar with php CURL or REST would they help address this issue php html http forms..

SOAP request in PHP with CURL

http://stackoverflow.com/questions/7120586/soap-request-in-php-with-curl

request in PHP with CURL As SOAP manual on php.net is not very noob friendly and I can't.. https connection with auth ch curl_init curl_setopt ch CURLOPT_SSL_VERIFYPEER 0 curl_setopt ch CURLOPT_URL url curl_setopt.. curl_setopt ch CURLOPT_SSL_VERIFYPEER 0 curl_setopt ch CURLOPT_URL url curl_setopt ch CURLOPT_RETURNTRANSFER true curl_setopt..

PHP curl post to login to Wordpress

http://stackoverflow.com/questions/728274/php-curl-post-to-login-to-wordpress

wp admin testcookie 1 ch curl_init curl_setopt ch CURLOPT_URL url . blog wordpress wp login.php curl_setopt ch CURLOPT_SSL_VERIFYPEER.. url . blog wordpress wp login.php curl_setopt ch CURLOPT_SSL_VERIFYPEER FALSE curl_setopt ch CURLOPT_USERAGENT Mozilla.. curl_setopt ch CURLOPT_SSL_VERIFYPEER FALSE curl_setopt ch CURLOPT_USERAGENT Mozilla 5.0 Windows U Windows NT 5.1 en US rv 1.8.1.6..

How do I make an asynchronous GET request in PHP?

http://stackoverflow.com/questions/962915/how-do-i-make-an-asynchronous-get-request-in-php

output To be honest I do not want to mess around with CURL as this isn't really the job of CURL. I also do not want to.. to mess around with CURL as this isn't really the job of CURL. I also do not want to make use of http_get as I do not have..

How to login in with Curl and SSL and cookies

http://stackoverflow.com/questions/10307744/how-to-login-in-with-curl-and-ssl-and-cookies

to login in with Curl and SSL and cookies I been trying to log into barnesandnoble.com..

How To ? Form Post to Multiple Locations

http://stackoverflow.com/questions/1585307/how-to-form-post-to-multiple-locations

the simplest way I know it could be done with Javascript Curl or Snoopy class but really which is the most simplest and best..

PHP Curl Paypal Sandbox

http://stackoverflow.com/questions/1776827/php-curl-paypal-sandbox

Curl Paypal Sandbox Is it possible to use CURL and Paypal's Developer..

Best way to manage long-running php script?

http://stackoverflow.com/questions/2212635/best-way-to-manage-long-running-php-script

to do this My server supports Ruby On Rails Python Perl Curl not sure what this is referring to Although I don't have any..

Setting Curl's Timeout in PHP

http://stackoverflow.com/questions/2582057/setting-curls-timeout-in-php

Curl's Timeout in PHP I'm running a curl request on an eXist database.. Content Length strlen postString headers User Agent Curl 1.0 curl_setopt ch CURLOPT_URL requestUrl curl_setopt ch CURLOPT_HEADER..

How to enable curl, installed Ubuntu LAMP stack?

http://stackoverflow.com/questions/2939820/how-to-enable-curl-installed-ubuntu-lamp-stack

manually but it didn't work either. How should I enable Curl then php ubuntu curl lamp share improve this question From..

How can I send SOAP XML via Curl and PHP?

http://stackoverflow.com/questions/3006977/how-can-i-send-soap-xml-via-curl-and-php

can I send SOAP XML via Curl and PHP This has been bugging me for days I'm trying to send.. bugging me for days I'm trying to send a SOAP post via Curl but I just keep getting a couldn't connect to host error but.. fine with the same URL and data. I think it's just a PHP Curl thing. I currently have the following code the CURLOPT_POSTFIELDS..

Make curl follow redirects?

http://stackoverflow.com/questions/3519939/make-curl-follow-redirects

a page redirects to I'd use the advice here and just use Curl to grab the headers and extract the Location header from them..

Php - Debugging Curl

http://stackoverflow.com/questions/3757071/php-debugging-curl

Debugging Curl I'd like to see what the post fields in the request are before..

Post data and retrieve the response using PHP Curl?

http://stackoverflow.com/questions/4947025/post-data-and-retrieve-the-response-using-php-curl

data and retrieve the response using PHP Curl I'm very new to working with web services and so I'm finding..

Facebook API: How to post to own application wall without login

http://stackoverflow.com/questions/5205602/facebook-api-how-to-post-to-own-application-wall-without-login

access permission. To publish to your application wall 1 Curl this link to get your application access token https graph.facebook.com..

PHP Curl - Cookies problem

http://stackoverflow.com/questions/7522149/php-curl-cookies-problem

Curl Cookies problem I am trying to grab my amazon associates stats..

Get image dimensions with Curl

http://stackoverflow.com/questions/869989/get-image-dimensions-with-curl

image dimensions with Curl I would like the height width of a remote image. Could that.. height width of a remote image. Could that be done with Curl and if so how php curl share improve this question The..

RAW POST using Curl in PHP

http://stackoverflow.com/questions/871431/raw-post-using-curl-in-php

POST using Curl in PHP How can I do a RAW POST in PHP using curl. Raw post..

Login to Google with PHP and Curl, Cookie turned off?

http://stackoverflow.com/questions/8991873/login-to-google-with-php-and-curl-cookie-turned-off

to Google with PHP and Curl Cookie turned off I have this code for logging into Google..

Persistent/keepalive HTTP with the PHP Curl library?

http://stackoverflow.com/questions/972925/persistent-keepalive-http-with-the-php-curl-library

keepalive HTTP with the PHP Curl library I'm using a simple PHP library to add documents to..

PHP cUrl vs file_get_contents

http://stackoverflow.com/questions/11064980/php-curl-vs-file-get-contents

cUrl vs file_get_contents Here is a question. How these 2 pieces..

PHP file_get_contents() and headers

http://stackoverflow.com/questions/2107759/php-file-get-contents-and-headers

share improve this question You might want to look into cUrl it will give you a far greater flexibility than file_get_contents..

Best way to manage long-running php script?

http://stackoverflow.com/questions/2212635/best-way-to-manage-long-running-php-script

to complete. Just in case it matters the script is using cUrl to scrape data from another server. This is the reason it's..

Help securing files access with htaccess and php?

http://stackoverflow.com/questions/2573496/help-securing-files-access-with-htaccess-and-php

send a username and password combination using headers and cUrl or something similar but I wouldn't know where to start. Any..

Reusing the same curl handle. Big performance increase?

http://stackoverflow.com/questions/3787002/reusing-the-same-curl-handle-big-performance-increase

increase In a php script I am doing a lot of different cUrl GET requests a hundred to different URL. Is reusing the same.. current architecture it would be not easy to keep the same cUrl handle. Thanks Benjamin php performance curl share improve..

Using PUT method with PHP cUrl Library

http://stackoverflow.com/questions/3958226/using-put-method-with-php-curl-library

PUT method with PHP cUrl Library I'm able to run the following curl command at the command..

Facebook PHP SDK logout

http://stackoverflow.com/questions/4547175/facebook-php-sdk-logout

to logout from my app without redirecting For example with cUrl request to the logout url is that possible php facebook curl..

cUrl Login then cUrl Download

http://stackoverflow.com/questions/6987876/curl-login-then-curl-download

Login then cUrl Download I am writing a script to download.. Login then cUrl Download I am writing a script to download files from a password..

PHP Curl - Cookies problem

http://stackoverflow.com/questions/7522149/php-curl-cookies-problem

to grab my amazon associates stats automatically via cUrl. However I am falling down at the first hurdle logging in. When..

Uncompress gzip compressed http response

http://stackoverflow.com/questions/8895852/uncompress-gzip-compressed-http-response

version maybe it is only available on SVN . I know that cUrl decodes gzip stream on the fly without any problem but someone.. someone suggested me to use file_get_contents instead of cUrl. Do you know any other way to decompress gzipped data in PHP..