php-general Digest 13 Sep 2012 19:51:24 -0000 Issue 7962
Topics (messages 319053 through 319066):
Re: Programmers and developers needed
319053 by: Per Jessen
319054 by: Tim Dunphy
319055 by: Steven Staples
319056 by: Matijn Woudt
319057 by: Bastien Koert
319058 by: Marc Guay
319059 by: Robert Cummings
319063 by: Matijn Woudt
Re: How to limit source IP in PHP
319060 by: Mihamina Rakotomandimby
319061 by: Mihamina Rakotomandimby
319062 by: Tonix (Antonio Nati)
319064 by: Tonix (Antonio Nati)
319065 by: Jim Lucas
319066 by: Tonix (Antonio Nati)
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
agbo onyador wrote:
> Hello there! We are looking for programmers and developers to create a
> world wide system. Your comments are welcome.
Who is "we" ?
--
Per Jessen, Zürich (12.2°C)
--- End Message ---
--- Begin Message ---
> We are looking for programmers and developers to create a world wide
system.
Is it bigger than a bread box?
On Thu, Sep 13, 2012 at 3:45 AM, agbo onyador <onya...@gmail.com> wrote:
> Hello there! We are looking for programmers and developers to create a
> world wide system. Your comments are welcome.
>
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
--- End Message ---
--- Begin Message ---
> From: Tim Dunphy [mailto:bluethu...@gmail.com]
> Sent: September 13, 2012 7:26 AM
>
> > We are looking for programmers and developers to create a world wide
> system.
>
> Is it bigger than a bread box?
Will it blend?
--- End Message ---
--- Begin Message ---
On Thu, Sep 13, 2012 at 2:12 PM, Steven Staples <sstap...@mnsi.net> wrote:
>> From: Tim Dunphy [mailto:bluethu...@gmail.com]
>> Sent: September 13, 2012 7:26 AM
>>
>> > We are looking for programmers and developers to create a world wide
>> system.
>>
>> Is it bigger than a bread box?
>
> Will it blend?
>
Sure, if you find a big enough blender ;)
--- End Message ---
--- Begin Message ---
On Thu, Sep 13, 2012 at 8:44 AM, Matijn Woudt <tijn...@gmail.com> wrote:
> On Thu, Sep 13, 2012 at 2:12 PM, Steven Staples <sstap...@mnsi.net> wrote:
>>> From: Tim Dunphy [mailto:bluethu...@gmail.com]
>>> Sent: September 13, 2012 7:26 AM
>>>
>>> > We are looking for programmers and developers to create a world wide
>>> system.
>>>
>>> Is it bigger than a bread box?
>>
>> Will it blend?
>>
>
> Sure, if you find a big enough blender ;)
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
meh, World Wide Web has been done...
--
Bastien
Cat, the other other white meat
--- End Message ---
--- Begin Message ---
I'll do it, but only if it's on "paid on delivery" and/or subsidized
by African royalty.
Are our comments still welcome?
--- End Message ---
--- Begin Message ---
On 12-09-13 08:44 AM, Matijn Woudt wrote:
On Thu, Sep 13, 2012 at 2:12 PM, Steven Staples <sstap...@mnsi.net> wrote:
From: Tim Dunphy [mailto:bluethu...@gmail.com]
Sent: September 13, 2012 7:26 AM
We are looking for programmers and developers to create a world wide
system.
Is it bigger than a bread box?
Will it blend?
Sure, if you find a big enough blender ;)
There's a big one at the center of our galaxy :D
Cheers,
Rob.
--
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.
--- End Message ---
--- Begin Message ---
On Thu, Sep 13, 2012 at 4:38 PM, Robert Cummings <rob...@interjinn.com> wrote:
> On 12-09-13 08:44 AM, Matijn Woudt wrote:
>>
>> On Thu, Sep 13, 2012 at 2:12 PM, Steven Staples <sstap...@mnsi.net> wrote:
>>>>
>>>> From: Tim Dunphy [mailto:bluethu...@gmail.com]
>>>> Sent: September 13, 2012 7:26 AM
>>>>
>>>>> We are looking for programmers and developers to create a world wide
>>>>
>>>> system.
>>>>
>>>> Is it bigger than a bread box?
>>>
>>>
>>> Will it blend?
>>>
>>
>> Sure, if you find a big enough blender ;)
>
>
> There's a big one at the center of our galaxy :D
>
> Cheers,
> Rob.
Ah Rob, You're right!;)
Maybe he realizes he needs a galaxy wide system now??
--- End Message ---
--- Begin Message ---
On 09/12/2012 07:02 PM, Daniel Brown wrote:
So, the answer is no, PHP is not able to do that.
There is an (heavy) BASEDIR directive for disk, but nothing equivalent (and
simpler) for IP.
That's correct. However, that doesn't mean you can't put in a
feature request at https://bugs.php.net/ to see if it can be included
in a future release.
PHP handler is triggered depending on the request (ie: GET /dir/file.php)
The HTTP transaction stil has to be initiated fisrt then.
The TCP connection has been opened before the HTTP gets to Apache.
No chance PHP could change the binding IP.
Filing the request is IMHO technically irrelevant.
--
RMA.
--- End Message ---
--- Begin Message ---
On 09/12/2012 04:53 PM, Tonix (Antonio Nati) wrote:
PHP script can freely choose which IP to bind.
PHP doesnt bind at all.
The HTTP server (Apache, Lighthttpd,...) does.
PHP is called only when the HTTP server wants (you configure it that
way): make Apache handle PHP on conditionnal REMOTE_HOST if possible (I
did not look deep into APache documentation)
--
RMA.
--- End Message ---
--- Begin Message ---
Il 13/09/2012 18:16, Mihamina Rakotomandimby ha scritto:
On 09/12/2012 07:02 PM, Daniel Brown wrote:
So, the answer is no, PHP is not able to do that.
There is an (heavy) BASEDIR directive for disk, but nothing
equivalent (and
simpler) for IP.
That's correct. However, that doesn't mean you can't put in a
feature request at https://bugs.php.net/ to see if it can be included
in a future release.
PHP handler is triggered depending on the request (ie: GET /dir/file.php)
The HTTP transaction stil has to be initiated fisrt then.
The TCP connection has been opened before the HTTP gets to Apache.
No chance PHP could change the binding IP.
Filing the request is IMHO technically irrelevant.
You are speaking about incoming connections, I suppose.
I'm speaking about connections started from within PHP.
Regards,
Tonino
--
------------------------------------------------------------
Inter@zioni Interazioni di Antonio Nati
http://www.interazioni.it to...@interazioni.it
------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Il 13/09/2012 18:19, Mihamina Rakotomandimby ha scritto:
On 09/12/2012 04:53 PM, Tonix (Antonio Nati) wrote:
PHP script can freely choose which IP to bind.
PHP doesnt bind at all.
The HTTP server (Apache, Lighthttpd,...) does.
PHP is called only when the HTTP server wants (you configure it that
way): make Apache handle PHP on conditionnal REMOTE_HOST if possible
(I did not look deep into APache documentation)
PHP is like any other programming language.
After it is called by apache, he can read and write files, as well as
opening incoming and outgoing connections.
Please check carefully http://www.php.net/manual/en/book.sockets.php.
Regards,
Tonino
--
------------------------------------------------------------
Inter@zioni Interazioni di Antonio Nati
http://www.interazioni.it to...@interazioni.it
------------------------------------------------------------
--- End Message ---
--- Begin Message ---
On 09/13/2012 12:28 PM, Tonix (Antonio Nati) wrote:
You are speaking about incoming connections, I suppose.
I'm speaking about connections started from within PHP.
Which is a response to the incoming connection.
Unless you are talking about PHP being ran from cron or the CLI.
if you are talking about YOU running a PHP script as a daemon, then yes,
you have the ability to BIND to an IP address. I do this in a few
scripts/daemons of mine. I use the stream_* functions for this.
But, if you are talking about calling fopen() from the CLI and have it
"bind" to a specific IP when connecting out, that is more of a OS
specific option. You will need to find out how to run a php script and
have it "bind" to a given IP (or interface) when it connects to the WWW.
Hope this helps.
Jim
Regards,
Tonino
--
Jim Lucas
http://www.cmsws.com/
http://www.cmsws.com/examples/
--- End Message ---
--- Begin Message ---
Il 13/09/2012 21:41, Jim Lucas ha scritto:
On 09/13/2012 12:28 PM, Tonix (Antonio Nati) wrote:
You are speaking about incoming connections, I suppose.
I'm speaking about connections started from within PHP.
Which is a response to the incoming connection.
And so? There is no relation between the call received from Apache
(which is not passed to PHP), and any connection PHP may open later.
Unless you are talking about PHP being ran from cron or the CLI.
if you are talking about YOU running a PHP script as a daemon, then
yes, you have the ability to BIND to an IP address. I do this in a
few scripts/daemons of mine. I use the stream_* functions for this.
But, if you are talking about calling fopen() from the CLI and have it
"bind" to a specific IP when connecting out, that is more of a OS
specific option. You will need to find out how to run a php script
and have it "bind" to a given IP (or interface) when it connects to
the WWW.
When apache starts a php script, the script can open a socket towards
another end-point, asking to bind to any local address as source address.
Period.
Regards,
Tonino
Hope this helps.
Jim
Regards,
Tonino
--
------------------------------------------------------------
Inter@zioni Interazioni di Antonio Nati
http://www.interazioni.it to...@interazioni.it
------------------------------------------------------------
--- End Message ---