RE: [PHP-DEV] included_by() possible?

From: Date: Sun, 27 Aug 2000 23:04:35 +0000
Subject: RE: [PHP-DEV] included_by() possible?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-30881@lists.php.net to get a copy of this message
Can i suggest the traditional way of doing things ? <? include("outsidescript.php"); InitOutsideScript(<accntnum>, <section>); ?> <HTMLCODE> <? ExitOutsideScript(); ?> this would keep anonimity of calling page, but would allow you to have account information that the owner is willing to give. BTW: my girlfriend is able to cut n paste code for putting in html .. guess everyone can do it :) Just a tought. DarkByte -----Original Message----- From: André Langhorst [mailto:waldschrott@php.net] Sent: Friday, August 25, 2000 9:33 PM To: Comeau, Michel Cc: PHPDEV Subject: Re: [PHP-DEV] included_by() possible? > Bad side: Allow to intrude privacy of the including script. > > What one could have for information is the server address (eg.: > www.site.com) and not the full URL to the including script but $PHP_SELF > already does that so there is no need to go further than that IMHO. In fact it would be handy then to have a include_history_disallow(), to disallow included pages below the file calling this function to access this information (then you´d optionally need to save which file(s) sets this flag, because this setting should not affect files which above and actually including the page set sets this flag. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.dev (#30881) next »