Hi,

Yes It can be done that way, but i'd have to add this to every script used
on the server. Not a huge under taking. I was hoping to try an set it more
globally. The server admin insists on keeping Register_Globals on. The admin
did send me this for us in a .htaccess file:

RewriteRule ^content(.*) index.php
RewriteRule ^component/(.*) index.php

php_flag register_globals off
Order allow,deny
Allow from all

Can anyone let me if this applies to only the index.php file? If it does
then maybe the ini_set() would easier to work with since is could be added
part of an include.

Mike
-- 
Mike Brandonisio               *    IT Planning & Support
Tech One Illustration          *    Database Applications
tel (630) 759-9283             *    e-Commerce
mailto: [EMAIL PROTECTED]    *    http://www.techone.org/

on 4/29/05 5:53 PM, Wade at [EMAIL PROTECTED] scribbled:

> 04292005 1747 GMT-6
> 
> If you are talking about doing this with a script, you can access it with
> ini_set(register_globls,0);
> 
> Wade
> 
> 
> 
> Mike Brandonisio wrote:
> 
>> Hi,
>> 
>> Can Register Globals be turned ON and OFF with an .htaccess file?
>> 
>> Does anyone know how to do this?
>> 
>> Mike
>> -- 
>> Mike Brandonisio          *    Web Hosting
>> Tech One Illustration     *    Database Applications
>> tel (630) 759-9283        *    e-Commerce
>> [EMAIL PROTECTED]    *    http://www.jikometrix.net
>> 
>> JIKOmetrix - Reliable web hosting
>> 
>> 
>> 
>> Community email addresses:
>> Post message: [email protected]
>> Subscribe:    [EMAIL PROTECTED]
>> Unsubscribe:  [EMAIL PROTECTED]
>> List owner:   [EMAIL PROTECTED]
>> 
>> Shortcut URL to this page:
>> http://groups.yahoo.com/group/php-list
>> 
>> 
>> ------------------------------------------------------------------------
>> *Yahoo! Groups Links*
>> 
>> * To visit your group on the web, go to:
>> http://groups.yahoo.com/group/php-list/
>> 
>> * To unsubscribe from this group, send an email to:
>> [EMAIL PROTECTED]
>> <mailto:[EMAIL PROTECTED]>
>> 
>> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>> Service <http://docs.yahoo.com/info/terms/>.
>> 
>> 
>> ------------------------------------------------------------------------
>> 
>> No virus found in this incoming message.
>> Checked by AVG Anti-Virus.
>> Version: 7.0.308 / Virus Database: 266.11.0 - Release Date: 4/29/2005
>> 
>> 
> 
> 
> [Non-text portions of this message have been removed]
> 
> 
> 
> Community email addresses:
> Post message: [email protected]
> Subscribe:    [EMAIL PROTECTED]
> Unsubscribe:  [EMAIL PROTECTED]
> List owner:   [EMAIL PROTECTED]
> 
> Shortcut URL to this page:
> http://groups.yahoo.com/group/php-list
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
> 
> 



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to