View previous topic :: View next topic |
Author |
Message |
dammit -
Joined: 21 Jul 2005 Posts: 3
|
Posted: Thu Jul 21, 2005 3:03 am Post subject: register_globals |
|
|
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 |
|
 |
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Thu Jul 21, 2005 3:05 am Post subject: Re: register_globals |
|
|
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 |
|
 |
dammit -
Joined: 21 Jul 2005 Posts: 3
|
Posted: Thu Jul 21, 2005 3:36 am Post subject: thank you |
|
|
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 |
|
 |
dammit -
Joined: 21 Jul 2005 Posts: 3
|
Posted: Thu Jul 21, 2005 3:44 am Post subject: WOOHOO..... |
|
|
I found it ...and changed it to on....i ran test.php and it is indeed on.thanks much |
|
Back to top |
|
 |
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Thu Jul 21, 2005 4:33 am Post subject: Re: WOOHOO..... |
|
|
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 |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Thu Jul 21, 2005 1:27 pm Post subject: Re: thank you |
|
|
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 |
|
 |
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Thu Jul 21, 2005 3:19 pm Post subject: Re: thank you |
|
|
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 |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Thu Jul 21, 2005 6:35 pm Post subject: |
|
|
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 |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu Jul 21, 2005 7:01 pm Post subject: |
|
|
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 |
|
 |
|