register_globals

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
dammit
-


Joined: 21 Jul 2005
Posts: 3

PostPosted: Thu Jul 21, 2005 3:03 am    Post subject: register_globals Reply with quote

I get an error message that register_globals is OFF.....when i try to access my website.How do i turn it on.i have run test.php and it is indeed OFF.Thanks.
Back to top View user's profile Send private message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Thu Jul 21, 2005 3:05 am    Post subject: Re: register_globals Reply with quote

dammit wrote:
I get an error message that register_globals is OFF.....when i try to access my website.How do i turn it on.i have run test.php and it is indeed OFF.Thanks.

Open the php.ini file in the PHP Root Directory and navigate to there (Ctrl+F works good in Windows), and change OFF to ON.
Back to top View user's profile Send private message Send e-mail
dammit
-


Joined: 21 Jul 2005
Posts: 3

PostPosted: Thu Jul 21, 2005 3:36 am    Post subject: thank you Reply with quote

i wish it were that easy but i dont see any php.ini file in the root directory....i did CTRL-F and did a search and it just aint there?????????????????????????i dont get it
Back to top View user's profile Send private message
dammit
-


Joined: 21 Jul 2005
Posts: 3

PostPosted: Thu Jul 21, 2005 3:44 am    Post subject: WOOHOO..... Reply with quote

I found it ...and changed it to on....i ran test.php and it is indeed on.thanks much
Back to top View user's profile Send private message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Thu Jul 21, 2005 4:33 am    Post subject: Re: WOOHOO..... Reply with quote

dammit wrote:
I found it ...and changed it to on....i ran test.php and it is indeed on.thanks much

You're welcome
Back to top View user's profile Send private message Send e-mail
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Thu Jul 21, 2005 1:27 pm    Post subject: Re: thank you Reply with quote

dammit wrote:
i wish it were that easy but i dont see any php.ini file in the root directory....i did CTRL-F and did a search and it just aint there?????????????????????????i dont get it


That would be because PHP.ini is found in the Windows root directory, not the PHP root. Go P3.
_________________

"Invent an idiot proof webserver and they'll invent a better idiot..."
Back to top View user's profile Send private message
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Thu Jul 21, 2005 3:19 pm    Post subject: Re: thank you Reply with quote

Anonymoose wrote:
dammit wrote:
i wish it were that easy but i dont see any php.ini file in the root directory....i did CTRL-F and did a search and it just aint there?????????????????????????i dont get it


That would be because PHP.ini is found in the Windows root directory, not the PHP root. Go P3.

That's because THAT IS WHERE I PUT IT ON MY SYSTEM!
Back to top View user's profile Send private message Send e-mail
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Thu Jul 21, 2005 6:35 pm    Post subject: Reply with quote

Perhaps in future you would care to give people advice based on where the file would be found on a standard system, not where you decided to put it on yours.
_________________

"Invent an idiot proof webserver and they'll invent a better idiot..."
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Jul 21, 2005 7:01 pm    Post subject: Reply with quote

The best way to find out where your php.ini is , is to create the phpinfo script
and check where its located , that way you don't have to keep searching for it.

The phpinfo()
Code:

<?php
 phpinfo();
?>
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group