My recommendation use a php file define the global there, and use with include. From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On Behalf Of Blaine Sent: Tuesday, March 25, 2008 8:53 am To: php-objects@xxxxxxxxxxxxxxx Subject: Re: php5 and global variables You just can't On Tue, Mar 25, 2008 at 11:46 AM, Tarun <tarun.virgo@xxxxxxxxx <mailto:tarun.virgo%40gmail.com> > wrote: > hello Friends, > > How to set global variables " ON" in php 5 in .htaccess file. > > in php4 we could set it by using the following line. > > <IfModule mod_php4.c> > php_value session.use_trans_sid 0 > php_value register_globals 1 > </IfModule> > > but what to do for php5 to use global variables, and updating htaccess. > > Please suggest me > > Warm Regards, > > Tarun > > [Non-text portions of this message have been removed] > > > -- O Blaine - What the developing /|\ should'nt have been | thiagomata.blog.com / \ [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]