On 04/10/2012 15:54, Bastien Koert wrote:
Hi All,
I have a page that receives third party data into my app, xml data via
https post. This works fine and I receive the data as expected. The
issue I am facing is around posting XML data back as a synchronous
response to the post I receive. I
On 20-09-2012 13:48, Rango wrote:
Hi,
I host a flash painting tool on my site, and wanted to add ability for the
users to add a background image from a given url, but I have to make sure
the url they add truely refers to a real jpg file, and not something else.
I found a methoed with
On Wed, 28 Sep 2011 01:28:19 -0700, muad shibani wrote:
what are the costs of using PHP Curl to show another websites on my
site as stumbleon do .. traffic, memory or what?
One cost might be legal expenses and penalties for copyright
infringement.
--
PHP General Mailing List
thanks!
2009/1/21 Manuel Lemos mle...@acm.org
Hello,
on 01/20/2009 09:10 PM Matthias Laug said the following:
I've got a problem using curl to upload a file. I want to send it to a
form
written with the Django Framework.
Post Request are processed correctly, with one anomaly.
This
OOPS :)
As a second test, i changed the test-url to
http://82.170.249.144:81/mediaBeez/sn.phphttp://82.170.249.144/mediaBeez/sn.php
On Tue, Jan 20, 2009 at 7:33 PM, Rene Veerman rene7...@gmail.com wrote:
Hi,
I've been stuck on this problem i'm having after i re-installed my linux
(debian)
And FYI; the test-script i'm using is
?php
session_write_close();
$ch = curl_init();
#set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL, http://82.170.249.144/mediaBeez/sn.php;);
//curl_setopt($ch, CURLOPT_URL, http://www.google.de/;);
//curl_setopt($ch, CURLOPT_HEADER, );
On Tue, Jan 20, 2009 at 1:35 PM, Rene Veerman rene7...@gmail.com wrote:
OOPS :)
As a second test, i changed the test-url to
http://82.170.249.144:81/mediaBeez/sn.phphttp://82.170.249.144/mediaBeez/sn.php
On Tue, Jan 20, 2009 at 7:33 PM, Rene Veerman rene7...@gmail.com wrote:
Hi,
I've
Hello,
on 01/20/2009 09:10 PM Matthias Laug said the following:
I've got a problem using curl to upload a file. I want to send it to a form
written with the Django Framework.
Post Request are processed correctly, with one anomaly.
This piece of code works fine
curl_setopt($process,
Bruce, I tried using curl to just get the feed and it worked ok:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,
'http://api.beta.blogs.aol.com/bsteinback0224/service.xml');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HEADER, 1);
print curl_exec($ch);
My guess would
Hello,
on 05/04/2007 09:44 AM Emmanuel Raulo-Kumagai said the following:
Hello
I'm writting a client in PHP for some CMS.
I need to send an HTTP POST request with a multipart/form-data content.
One of the parts is a file which must look like the request was issued
after submitting a web
Hello,
on 03/29/2007 01:15 PM Angelo Zanetti said the following:
I have a script on a server that does some processing, now I want to
execute that script using cURL. This is a basic scenario and I assume
its possible but its not working.
The script is as follows:
$url =
Manuel Lemos wrote:
Hello,
on 03/29/2007 01:15 PM Angelo Zanetti said the following:
I have a script on a server that does some processing, now I want to
execute that script using cURL. This is a basic scenario and I assume
its possible but its not working.
The script is as follows:
$url
Hello,
on 03/30/2007 12:38 AM Chris said the following:
I get a 500 Internal server error, not sure why as this page being
called just inserts a word into a database. Could the cause be something
else network related? What else can I troubleshoot? or is my code
incorrect?
It is hard to tell
Manuel Lemos wrote:
Hello,
on 03/30/2007 12:38 AM Chris said the following:
I get a 500 Internal server error, not sure why as this page being
called just inserts a word into a database. Could the cause be something
else network related? What else can I troubleshoot? or is my code
incorrect?
Mathijs wrote:
Hello there,
I Have a question about cURL and sending POST data.
I have an array with values which are needed for an POST.
There is one value which starts with an @.
This gives me a error: ErrorNo.: 26, ErrorMsg: 'failed creating formpost
data'.
This is becouse an @ at the
I think urlencode can solve this.
Mathijs [EMAIL PROTECTED] escreveu na mensagem
news:[EMAIL PROTECTED]
Hello there,
I Have a question about cURL and sending POST data.
I have an array with values which are needed for an POST.
There is one value which starts with an @.
This gives me a
Mathijs wrote:
Mathijs wrote:
Hello there,
I Have a question about cURL and sending POST data.
I have an array with values which are needed for an POST.
There is one value which starts with an @.
This gives me a error: ErrorNo.: 26, ErrorMsg: 'failed creating
formpost data'.
This is
Hello,
on 01/03/2006 06:52 PM Ray Hauge said the following:
I just wanted to see if anyone knew if there was any difference in
performance between using curl in an exec() statement and when using the
libCurl functions within PHP.
Executing a separate program should be a little slower as it
Thanks for the info!
Manuel Lemos wrote:
Hello,
on 01/03/2006 06:52 PM Ray Hauge said the following:
I just wanted to see if anyone knew if there was any difference in
performance between using curl in an exec() statement and when using
the libCurl functions within PHP.
Executing a
Jay Blanchard wrote:
Howdy all,
I am trying a new technique, for me, when processing a form. The form is
filled out and submitted, during processing it is determined that there is
an error with the posted data...such as a blank or mismatched password,
I want to return the form with the data
[snip]
Now, this works OK...save for one little problem that I cannot seem to
figure out. The URL now reads
http://TEST20051010/NameOfProcessingScript.php instead of
FMSRegister.php.
[/snip]
I kinda' solved this, but not reallyit was more of a mental adjustment.
FMSRegister.php
To put the question more simply, is there any way of finding out what
versions of the PHP modules ship with each/the latest release, short of
installing that version of PHP? Some release notes, for example?
Thanks in advance
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hello,
on 06/30/2005 01:27 PM Mark Rees said the following:
UPDATE: I think it is a bug in cURL, according to this link (I am using an
ISA proxy).
https://sourceforge.net/tracker/?func=detailatid=100976aid=1188280group_i
d=976
In that case you may want to try this PHP HTTP client class that
UPDATE: I think it is a bug in cURL, according to this link (I am using an
ISA proxy).
https://sourceforge.net/tracker/?func=detailatid=100976aid=1188280group_i
d=976
So all I need to do is install the latest version of cURL then. I am really
struggling with this - I don't have a good
On Thu, June 30, 2005 9:27 am, Mark Rees said:
UPDATE: I think it is a bug in cURL, according to this link (I am using an
ISA proxy).
https://sourceforge.net/tracker/?func=detailatid=100976aid=1188280group_i
d=976
So all I need to do is install the latest version of cURL then. I am
really
I've encountered the same problem with exec(curl, system(curl, etc. PHP
exits with sh: \curl: No file or directory. I'm wondering if there is
some php shell option that has to be set.
My other problem:
Upfront, I can post and recieve data just fine with asp.net, perl, and
java client scripts.
On Thu, April 7, 2005 11:54 am, cragland said:
I've encountered the same problem with exec(curl, system(curl, etc. PHP
exits with sh: \curl: No file or directory. I'm wondering if there is
some php shell option that has to be set.
Use full path names for EVERYTHING in exec.
If curl, as I
Hello,
on 12/21/2004 05:10 PM Juan Nin said the following:
I saw a post at http://www.php.net/manual/en/ref.curl.php where it says:
Using the customrequest for a complete post is wrong. Libcurl will add
a partial url, the http version and the standard headers after the post
data - while this works
Hello,
On 09/30/2004 11:27 AM, Nick Wilson wrote:
I'm using cURL and have a question about this line (part of a function)
curl_setopt($ch, CURLOPT_PROXY, $proxy2use);
I know that *after* I curl_exec() i can find out if the proxy resolved
or not with curl_errno() (it would return 5) but it seems
* and then Manuel Lemos declared
You may want to try this HTTP client class instead. It supports requests
via proxies and does not use Curl.
http://www.phpclasses.org/httpclient
Hmmm.. good point Manuel, i have seen the class, in fact it was the
original way i /was/ going to build the
* Martin Justra [EMAIL PROTECTED]:
I finally managed to grab the website via curl. Now the problen is that I
want to have a small piece of that site. I tried to cut that site by
explode. Now the browser hangs. He says waiting for www.domain.de and
does nothing.
Here is my listing:
Hello,
On 09/19/2004 09:49 AM, Martin Justra wrote:
I finally managed to grab the website via curl. Now the problen is that I
want to have a small piece of that site. I tried to cut that site by
explode. Now the browser hangs. He says waiting for www.domain.de and
does nothing.
Here is my
Hello,
On 08/16/2004 12:40 PM, Dominic Schanen wrote:
I'm sending a custom request to a server using CURL, which may contain
some high-ascii characters. Are there certain characters that would
cause CURL not to send the complete custom request? Are there some CURL
options that can help make
Hello,
On 04/20/2004 02:36 AM, Monty wrote:
Do my CURL statements look correct based on what the gateway needs to
receive?? I have PHP 4.3.2 and Apache 2.0 running on Red Hat ES 3.0.
I suspect that the port should not be in the host header.
Anyway, you may want to try using this HTTP client
Hello,
On 02/09/2004 05:29 PM, Richard Miller wrote:
I would appreciate any help you can give me about a problem I am having
with PHP's CURL functions.
I want to use CURL to download news from Wall Street Journal Online.
When you visit the WSJ home page, you're forwarded to an authentication
Hello,
On 12/30/2003 04:39 AM, Binay wrote:
can any body point me the direction where i can find curl tutorials. I was going through the curl concept from php manual but couldn't quench my thirst as this section is not very clear. I also searched in the archive but couldn't find any.
if any of u
i found out myself if anyone wants to know...
John Ryan [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
is there any way of seeing exactly what headers cURL sent in a transfer,
with PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
--- John Ryan [EMAIL PROTECTED] wrote:
is there any way of seeing exactly what headers cURL sent in a
transfer, with PHP?
--- John Ryan [EMAIL PROTECTED] wrote:
i found out myself if anyone wants to know...
Yes, please. It is always helpful (and courteous) to mention how you solved
your
yeah, sure.
well, for archival purposes, i couldnt do it with PHP. the verbose option
didnt work with PHP, CURLOPT_VERBOSE. but it did work on the command line.
so i logged in and re-created my curl transfer on the command line with an
added -v, for verbose. and it gave me back the headers it
i was more asking for the actual curl commands to do so, i suppose this
wasnt the rite ng to ask, but ive nowhere else! the docs on the curl site
are kinda crap
Igor Konforti [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
yeah, there is way to do it!
yeah, there is way to do it!
http://www.php.net/manual/en/function.curl-setopt.php
On Tue, 5 Aug 2003 01:04:42 +0100, John Ryan [EMAIL PROTECTED] wrote:
theres this site i want to use to execute a command by visting a url.
like
http://www.site.com/stuff.php?id=1234message=hello_world
when i
In most cases you can make Curl submit the login form itself, in which
case Curl would become logged in.
You can use Curl to get both GET and POST requests, the comments in the
PHP manual are pretty decent.
Jason
John Ryan wrote:
i was more asking for the actual curl commands to do so, i
Try the PHP file() command.
Assumably you mean HTML not NTML.
Andrew
http://cday.sourceforge.net
Boaz Yahav wrote:
Does anyone have a code snippet that connects to a remote server using
NTML
and gets the HTML source?
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP
I mean NTLM :)
-Original Message-
From: Andrew Ziem [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 26, 2003 5:27 AM
To: Boaz Yahav
Cc: [EMAIL PROTECTED]
Subject: Re: Curl NTLM
Try the PHP file() command.
Assumably you mean HTML not NTML.
Andrew
http://cday.sourceforge.net
Boaz
At 11/20/2002 08:46 AM, you wrote:
Have you tried this:
http://curl.haxx.se/libcurl/php/examples/
Yeah. That's where you end up from the Sourcefourge site. There's a sample on there
for a multi-part post, but I'm confused as to how it works.
Would help if you posted some code, or errors or
Have you tried this:
http://curl.haxx.se/libcurl/php/examples/
Would help if you posted some code, or errors or something. I've used curl
in several PHP applications successfully.
Snoopy is actually a really awesome implementation of curl in php:
http://sourceforge.net/projects/snoopy/
I
even more, if you want to use curl...
I remember that curl can take post data from an input file, so dump the
$strXML to a temp file then supply that file to curl.
good luck,
Samantha Savvakis [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
HI,
I'm using the
Try to post it via other than CURL,
http://Sloppycode.net and search for clsHtmlSource.php
Good luck,
Elias
Samantha Savvakis [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
HI,
I'm using the cURL binary to perform a HTTP POST to a web page. I am
sending
XML
Thanks for that. I'll look into it.
Sam
Lallous [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Try to post it via other than CURL,
http://Sloppycode.net and search for clsHtmlSource.php
Good luck,
Elias
Samantha Savvakis [EMAIL PROTECTED] wrote in
curl_setopt($ch, CURLOPT_URL, http://foobarcom/page1html;);
curl_setopt($ch, CURLOPT_FILE, $fh1);
curl_exec($ch); //exec1
curl_setopt($ch, CURLOPT_URL, http://foobarcom/page2html;);
curl_setopt($ch, CURLOPT_FILE, $fh2);
curl_exec($ch); //exec2
curl_setopt($ch, CURLOPT_URL,
It would be difficult at best to answer your question without first knowing
two things:
1. What did you expect it to do?
2. What did it actually do?
Fred
Stefan Isarie [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hey,
I'm trying to use CURL for sending
Compare your ?php phpinfo();? with theirs and see what cURL differences
there are...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time:
52 matches
Mail list logo