NYCPHP Meetup

NYPHP.org

[nycphp-talk] Eliminating namespace conflicts between scripts?

Cliff Hirsch cliff at pinestream.com
Thu Aug 16 14:37:31 EDT 2007


On 8/16/07 1:48 PM, "Rob Marscher" <rmarscher at beaffinitive.com> wrote:
> On Aug 16, 2007, at 10:18 AM, Cliff Hirsch wrote:
>> What about issuing a command line call? Although opening up this
>> functionality adds so many security risks.
> I was thinking that might be reasonable and avoids the http
> connection overhead.  As long as the call is totally controlled by
> you and doesn't include user input, I don't see any security risks.
> Does the other app need access to your web server environment - aka
> $_SERVER?  If so, that would throw out both options and you'd have to
> figure out how to rework your app to play nice with it.

Why does access to $_SERVER matter for call originating from call? Curl is
just simulating a http request.





More information about the talk mailing list