php-general Digest 13 Sep 2012 19:51:24 -0000 Issue 7962

2012-09-13 Thread php-general-digest-help

php-general Digest 13 Sep 2012 19:51:24 - 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  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  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  wrote:
> On Thu, Sep 13, 2012 at 2:12 PM, Steven Staples  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  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  wrote:
> On 12-09-13 08:44 AM, Matijn Woudt wrote:
>>
>> On Thu, Sep 13, 2012 at 2:12 PM, Steven Staples  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 con

php-general Digest 13 Sep 2012 07:46:03 -0000 Issue 7961

2012-09-13 Thread php-general-digest-help

php-general Digest 13 Sep 2012 07:46:03 - Issue 7961

Topics (messages 319043 through 319052):

Re: How to limit source IP in PHP
319043 by: Tommy Pham
319044 by: Tonix (Antonio Nati)
319046 by: Daniel Brown
319047 by: Tonix (Antonio Nati)
319048 by: Tommy Pham
319049 by: Daniel Brown
319051 by: Tonix (Antonio Nati)

PHP array unions
319045 by: Adam Richardson
319050 by: Sebastian Krebs

Programmers and developers needed
319052 by: agbo onyador

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 ---
On Wed, Sep 12, 2012 at 6:53 AM, Tonix (Antonio Nati)
 wrote:
>
> Is there a way to force a PHP script to bind to a prefixed IP?
>
> Actually, while you can assign more IPs to Apache for listening, assigning
> domains to specific IPs, it looks like any PHP script can freely choose
> which IP to bind. Instead I'd love some domains are permitted to open
> connections only from the domain IP.
>
> In FreeBSD I do it easily, setting up dedicated jails for domains. But how
> to do it simply using PHP on Linux?
>
> Regards,
>
> Tonino
>
>  
> Inter@zioniInterazioni di Antonio Nati
>http://www.interazioni.it  to...@interazioni.it
> 
>

1) Use Listen in Apache
2) Use VM such as KVM, VMWare, etc.
3) Make an array containing permissible domains.  Check the
$_SERVER['SERVER_NAME'] if exists in that array.  React/respond
accordingly.
--- End Message ---
--- Begin Message ---

Il 12/09/2012 16:08, Tommy Pham ha scritto:

On Wed, Sep 12, 2012 at 6:53 AM, Tonix (Antonio Nati)
 wrote:

Is there a way to force a PHP script to bind to a prefixed IP?

Actually, while you can assign more IPs to Apache for listening, assigning
domains to specific IPs, it looks like any PHP script can freely choose
which IP to bind. Instead I'd love some domains are permitted to open
connections only from the domain IP.

In FreeBSD I do it easily, setting up dedicated jails for domains. But how
to do it simply using PHP on Linux?

Regards,

Tonino

  
 Inter@zioniInterazioni di Antonio Nati
http://www.interazioni.it  to...@interazioni.it



1) Use Listen in Apache
2) Use VM such as KVM, VMWare, etc.
3) Make an array containing permissible domains.  Check the
$_SERVER['SERVER_NAME'] if exists in that array.  React/respond
accordingly.



1) is only for listening.
2) means a VPS for each domain, which we already do with vmware and 
FreeBSD jails, but it is too expensive for some customers.

3) means I'm writing the script, which is not the standard situation.

You must suppose the script to be written from a malicious user in a 
shared environment.


Is PHP able to 'force' binding IP? I hoped there was an external 
directive I did not see, but probably this is a PHP lack.


Regards,

Tonino


--

Inter@zioniInterazioni di Antonio Nati
   http://www.interazioni.it  to...@interazioni.it


--- End Message ---
--- Begin Message ---
On Wed, Sep 12, 2012 at 10:18 AM, Tonix (Antonio Nati)
 wrote:
>
> Is PHP able to 'force' binding IP? I hoped there was an external directive I
> did not see, but probably this is a PHP lack.

Not at all.  Essentially, PHP is an interface to underlying
software, OS commands, and APIs.  You'd have to configure the system
to bind requests, as PHP does not presently have that capability (and,
to my knowledge, there's no plan to change that).

-- 

Network Infrastructure Manager
http://www.php.net/
--- End Message ---
--- Begin Message ---

Il 12/09/2012 17:21, Daniel Brown ha scritto:

On Wed, Sep 12, 2012 at 10:18 AM, Tonix (Antonio Nati)
 wrote:

Is PHP able to 'force' binding IP? I hoped there was an external directive I
did not see, but probably this is a PHP lack.

 Not at all.  Essentially, PHP is an interface to underlying
software, OS commands, and APIs.  You'd have to configure the system
to bind requests, as PHP does not presently have that capability (and,
to my knowledge, there's no plan to change that).



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.


Regards,

Tonino



--

Inter@zioniInterazioni di Antonio Nati
   http://w