First, let me say that I am not familiar with the terminology so, if you see something, by all means, help me improve the wording.
What I want to do is retrieve a CSV file that is generated by a website, apparently based on a table.
The site in question has two drop boxes from which one can select the queries and then, based on `onchan...
I am trying to have a php script that displays a url with user data in it. The script is shown as follows.
<?php
$url = "localhost/" + $_GET['type'] + "/" + str_replace(' ','%20',$_GET['message']) + "/";
print $url;
// create curl resource
$ch = curl_init();
// set url
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_P...
I want to know is it possible to read information from other parties using PHP about their SSL certificate information, I've tried to find about it for ages but there's no real answer that has been found for me.
For example, I input "www.paypal.com" into the script and it will return the following:
Authority: VeriSign, Inc
Expires: 18...
I want to create a contact importer application.How to Import facebook contact using php and curl(prefer screenscraping).Please anybody can help me....
...
So I am trying to use the facebook API to send a photo. I've got it all working, but the issue is that due to our server environment (everything is stored at s3) there is no concept of local file paths, so when I'm supposed to do this:
'source' => '@'.realpath($FILE_PATH)
I can't because all I technically have is the URL. I know that it...
I'm expanding from perl to C and I'm trying to use curl's library to simply save a file from a remote url but I'm having a hard time finding a good example to work from.
Also, I'm not sure if I should be using curl_easy_recv or curl_easy_perform
...
Hello friends,
I would like to create a youtube video gallery, and I would like to crop the thumbnail and save it to my server, I tryed with cURL but had no success, it works but it seens that youtube is blocking.
Is there any option to save the youtube thumbnail?
http://i3.ytimg.com/vi/BdoQjb6K6XA/0.jpg
I would like to save the above...
I'm using CURL in my php script and I want to write information from CURLOPT_VERBOSE into file. I tried CURLOPT_STDERR but without luck. It still print everything in cmd window. I'm not sure if parameter in curl_setopt($ch, CURLOPT_STDERR, $errFileHandle); should be file handler or file name (both not work).
...
Hi. I want to use following script:
use FileHandle;
use WWW::Curl::Easy;
use WWW::Curl::Form;
my $file, my $curl, my $curlf, my $return, my $minified;
$file = new FileHandle();
$curl = new WWW::Curl::Easy();
$curl->setopt(CURLOPT_URL, "http://closure-compiler.appspot.com/compile");
$curlf = new WWW::Curl::Form();
$curlf->formadd('out...
I am trying to run a PHP bot function in a Safari extension.
This is the HTML code I've tried to put together, but it's a mess of PHP, cURL, and HTML, and I don't really know what I'm doing.
I've never attempted to use cURL before I got this code from http://www.barattalo.it/2010/08/09/send-push-notification-to-iphone-with-php-and-push...
I am using curl and php to find out information about a given url (e.g. http status code, mimetype, http redirect location, page title etc).
$ch = curl_init($url);
$useragent="Mozilla/5.0 (X11; U; Linux x86_64; ga-GB) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.11 Safari/532.9";
curl_setopt($ch,CURLOPT_HTTPHEADER,array (
...
Edit: I could simplify this question by asking is there a way to do something like header('Location: /msg_form.php?error=3') except sending error=3 and all the other form info via POST. I think the short answer is no, but there are alternative ways to do things.
I integrated a message system into my website which used GET for everythi...
I want to enable MySQL and Curl extension. therefore I uncomment the lines for enabling there extension into php.ini.
Also added environment variables to PHP to C:\PHP and PHRC to C:\PHP
Copied the dlls to system32
When i am opening php.exe , I am seeing the following error : Even tried to runing the code. it is throwing me this err...
I am trying to send simple entries in a form using PHP cURL so the remote server that the entries go to receives them in exactly the same manner as if sent from the form. So far, the remote server accepts post from the form but not when sent by this PHP code. fopen and fsockopen etc. are set to off by the host (Yahoo) that I use so cUR...
Is any installer which can configure PHP, IDE, MySQL,Curl API and Apache. my goal is to use Curl API using PHP. I am lots of trouble with manual installing.
...
I have uncomment the following from the php.ini file
;extension=php_bz2.dll
extension=php_curl.dll
;extension=php_dba.dll
Also ,I have copied the php_curl.dll to windows\system32 and restart the apache server.
I am testing the follwoing script
<?php
$curl_handle=curl_init();
curl_setopt($curl_handle,CURLOPT_URL,'http://example.c...
I grab a webpage that is in Hebrew with the help of curl but do get fancy characters (ie. ЧђЧ§Ч©Чџ) instead of Hebrew. What should I do to receive it all in Hebrew?
...
I've been trying to grab one page via Curl but fail to do it properly as the page returns badly encoded. Here's the page: http://www.movinsane.com/play13.php?vid=107628
Would you please tell me what how to do it with the help of PHP's Curl so that I can view it properly. Any help would be much appreciated. Thanks in advance!
...
I've been trying to grab one page via Curl but fail to do it properly as the page is returned badly encoded. Here's the page: http://www.movinsane.com/play13.php?vid=107628 Would you please tell me what how to do it with the help of PHP's Curl so that I can view it properly. Any help would be much appreciated. Thanks in advance!
$c = cu...
I'm having problem to get PHP CURL to work on my machine. I'm using Windows 7 Home Premium Edition (64 bit).
I tried to follow every single tips availble but couldn't get it to appear when I did phpinfo(). And, till now my CURL function is still not working.
Enable php_curl.dll extension from php.ini
Copy libeay32.dll and ssleay32.dll...