php-general Digest 14 Feb 2012 12:28:33 -0000 Issue 7688

2012-02-14 Thread php-general-digest-help
php-general Digest 14 Feb 2012 12:28:33 - Issue 7688 Topics (messages 316587 through 316600): Re: questions about $_SERVER 316587 by: Tedd Sperling is it possible to change the html title from the WYSIWYG editor? 316588 by: Haluk Karamete 316590 by: Marc Guay

php-general Digest 15 Feb 2012 01:44:15 -0000 Issue 7689

2012-02-14 Thread php-general-digest-help
php-general Digest 15 Feb 2012 01:44:15 - Issue 7689 Topics (messages 316601 through 316611): Re: handle file_get_contents timeout including dns lookup time 316601 by: Matijn Woudt 316609 by: Marco Behnke Can php be configured to browse through a proxy? 316602 by:

[PHP] handle file_get_contents timeout including dns lookup time

2012-02-14 Thread nik600
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 ?php ini_set('default_socket_timeout',10); $ctx = stream_context_create(array('http' = array('timeout' = 10))); $data =

Re: [PHP] handle file_get_contents timeout including dns lookup time

2012-02-14 Thread Matijn Woudt
On Tue, Feb 14, 2012 at 1:28 PM, nik600 nik...@gmail.com 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 ?php ini_set('default_socket_timeout',10); $ctx =

[PHP] Can php be configured to browse through a proxy?

2012-02-14 Thread Joan
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

Re: [PHP] Can php be configured to browse through a proxy?

2012-02-14 Thread Matijn Woudt
On Tue, Feb 14, 2012 at 5:41 PM, Joan aseq...@gmail.com 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 (

[PHP] Form Post to different domain

2012-02-14 Thread Rick Dwyer
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

Re: [PHP] Form Post to different domain

2012-02-14 Thread Daniel Brown
On Tue, Feb 14, 2012 at 13:14, Rick Dwyer rpdw...@earthlink.net 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)

Re: [PHP] Form Post to different domain

2012-02-14 Thread Rick Dwyer
On Feb 14, 2012, at 1:16 PM, Daniel Brown wrote: On Tue, Feb 14, 2012 at 13:14, Rick Dwyer rpdw...@earthlink.net 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

Re: [PHP] Form Post to different domain

2012-02-14 Thread Daniel Brown
On Tue, Feb 14, 2012 at 13:36, Rick Dwyer rpdw...@earthlink.net 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.

Re: [PHP] Form Post to different domain

2012-02-14 Thread Rick Dwyer
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

Re: [PHP] handle file_get_contents timeout including dns lookup time

2012-02-14 Thread Marco Behnke
Am 14.02.12 14:55, schrieb Matijn Woudt: On Tue, Feb 14, 2012 at 1:28 PM, nik600 nik...@gmail.com wrote: *** server.php *** placed on www.foo.com at http://www.foo.com/server.php ?php sleep(15); echo OK; ? I don't think this is possible with file_get_contents, but it should work

[PHP] MySQL and PHP weirdness

2012-02-14 Thread Richard S. Crawford
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

[PHP] Re: MySQL and PHP weirdness

2012-02-14 Thread David Robley
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 it's