|
#1
|
|||
|
|||
|
I actually think I might have done it successfully with a PHP.ini file, uploaded to the main directory. I heard you need one in EVERY DIRECTORY where PHP scripts are found.
Anyhow, it was confirmed by php_info() that I turned that important item on. However, my website does NOT act as if it's on. I got my old "phpShop" (0.6.1) site working in XAMPP -- which uses Apache 2.X, PHP5, and MySQL5 -- on my Windows XP machine. Same code, same settings. The only difference is that you are still using Apache 1.X and XAMPP uses Apache 2.X. I think you guys should have gone "all the way" if you're going to bother. But here's my question. Didn't I hear somewhere that problems like the one I'm having are normal? In other words, if you're going to go with PHP5, etc. then by all means go with Apache 2, otherwise stick with Apache 1? I wonder what in Apache 1 is breaking my site? Matthew |
|
#2
|
|||
|
|||
|
This must be a hard question -- not that I'm surprised! It sure seems difficult to me.
Matthew |
|
#3
|
|||
|
|||
|
ini_set('register_globals', 'on');
Place in the top of all pages you want to use register_globals. I'm new to hostgator I do not know if they allow control environment variables. Try it and see if not remove the code. |
|
#4
|
||||
|
||||
|
Nothing.
If you set register_globals ON in a php.ini file it will be on for PHP scripts in that directory. Quote:
If phpinfo sees it ON why would it be OFF in your code? What does this mean?
__________________
quietFinn - netFinn Finland "Be who you are and say what you feel because those who mind don't matter and those who matter don't mind." - Dr. Seuss |
|
#5
|
|||
|
|||
|
I started a new thread, since this one was poorly constructed, and poorly titled.
Sorry about that. Here is my much more descriptive thread: http://forums.hostgator.com/showthread.php?t=29282 Matthew Last edited by CathInfo; 03-12-2008 at 12:31 PM. |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -5. The time now is 08:11 AM.









