FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Logic behind this?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Logic behind this? [message #171539 is a reply to message #171531] Sat, 08 January 2011 03:13 Go to previous messageGo to previous message
Modafinil is currently offline  Modafinil
Messages: 3
Registered: January 2011
Karma:
Junior Member
On Jan 8, 5:39 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 1/7/2011 4:22 PM, Modafinil wrote:
>
> It's not a sort cut - it has significant overhead because it makes a
> call to the server, requiring the server to initialize another PHP
> environment for the new request, process the request and return the
> output to the originating script.
>

Sorry, the shortcut part was me thinking that I could append a
querystring to a script name being included from the local filesystem.
That obviously doesn't work unless you're doing a HTTP request, and by
the good advice I've been given, that sounds like something I want to
avoid (and my server won't let me do anyway).

>
> And you do NOT want register_globals to be set - it's a huge security
> hole and is being removed altogether in PHP 6.  If I were on a server
> with it enabled, I'd be looking for another hosting company.
>

Oops, I checked the register_globals setting on my rented shared
server, and it is turned off. I misunderstood it's purpose, but think
it's to do with stuff that would ordinarily be found in super-globals,
being accessible as ordinary local variables. If I understand
correctly, It's setting doesn't affect visibility of variables in an
included script, that were in scope at the point in the parent where
the child was included.

M.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: the changeover to mysqli
Next Topic: [urgent] need solution of Questions, in context of PHP5
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 14:51:34 GMT 2024

Total time taken to generate the page: 0.05454 seconds