Richard S. Crawford wrote:
> Bear with me here. I have a problem with PHP and MySQL that's been
> stumping me for a couple of days now. I'm not even sure how to describe
> it, so I'll just do my best.
>
> There's a row in our bugs database that looks like every other row in the
> table, but when
Bear with me here. I have a problem with PHP and MySQL that's been stumping
me for a couple of days now. I'm not even sure how to describe it, so I'll
just do my best.
There's a row in our bugs database that looks like every other row in the
table, but when it's pulled from the database and displa
Am 14.02.12 14:55, schrieb Matijn Woudt:
> On Tue, Feb 14, 2012 at 1:28 PM, nik600 wrote:
>>
>> *** server.php *** placed on www.foo.com at
>> http://www.foo.com/server.php
>> > sleep(15);
>> echo "OK";
>> ?>
>>
> I don't think this is possible with file_get_contents, but it should
> work
Thanks Dan.
As it turned out the reason for not showing the passed values is that
I didn't have "www" in the destination address and the values must
have been getting lost when Apache redirected requests without www to
the fully formed URL.
--Rick
On Feb 14, 2012, at 1:39 PM, Daniel B
On Tue, Feb 14, 2012 at 13:36, Rick Dwyer wrote:
>
> I only have access to domain B... the one receiving the Form POST.
Then all you should need to do is:
a.) Verify that Domain A is indeed pointing to Domain B, to
the script you expect, as a POST request.
b.) In the POST-rec
On Feb 14, 2012, at 1:16 PM, Daniel Brown wrote:
On Tue, Feb 14, 2012 at 13:14, Rick Dwyer
wrote:
Hello all.
If I have a form on domain A that uses POST to submit data and I
want to
submit the form to domain B on an entirely different server, how do
I pull
the form values (... echo $_POS
On Tue, Feb 14, 2012 at 13:14, Rick Dwyer wrote:
> Hello all.
>
> If I have a form on domain A that uses POST to submit data and I want to
> submit the form to domain B on an entirely different server, how do I pull
> the form values (... echo $_POST["myval"] returns nothing) from the form
> a
Hello all.
If I have a form on domain A that uses POST to submit data and I want
to submit the form to domain B on an entirely different server, how do
I pull the form values (... echo $_POST["myval"] returns nothing)
from the form at domain B?
--Rick
--
PHP General Mailing List
On Tue, Feb 14, 2012 at 5:41 PM, Joan wrote:
> There is some information about configuring php to use a proxy when
> connecting to external urls.
>
> According to some sources the proper setup option is by using
> the stream-context-set-default function (
> http://www.php.net/manual/en/function.st
There is some information about configuring php to use a proxy when
connecting to external urls.
According to some sources the proper setup option is by using
the stream-context-set-default function (
http://www.php.net/manual/en/function.stream-context-set-default.php)
Still I have not been able
On Tue, Feb 14, 2012 at 1:28 PM, nik600 wrote:
> Dear all
>
> i'm trying to handle a max timeout into a file_get_contents request,
> this is my code:
>
> *** client.php *** placed on http://test.foo.com/client.php
> ini_set('default_socket_timeout',10);
> $ctx = stream_context_create(arra
Dear all
i'm trying to handle a max timeout into a file_get_contents request,
this is my code:
*** client.php *** placed on http://test.foo.com/client.php
array('timeout' => 10)));
$data = file_get_contents("http://www.foo.com/server.php",0,$ctx);
if(!data){
die("error during page reques
12 matches
Mail list logo