Register  |  Login

Question Details    

   Question

Time: 04:30 - Feb 19, 2007     Asked by: dustPuppy      Status: Answered      Points: 60   

$http_get_vars in php not working after host change?

I have changed hosting provider and now the $http_get_vars doesn't work any more in php? Could this be because of a different php version?
And what would the best alternative be?

Ask a New Question

Become a Quomon Expert

Current Categories

 

Other Questions Needing Answers


   

Answer Discussion
Answer Discussion
Answer Summaries
Answer Summary
 
In PHP 4.1.0 the superglobal $_GET array was introduced.
$http_get_vars should still be available though - but maybe there is a setting in php.ini that configures how this variable can be accessed. Anyway, just use $_GET from now on - it's the official way ;-)

Expert:

jgivoni

Date:

Feb 19, 2007

Time:

07:59

 

Votes: Good (0) | Bad (0)
Login to rate this answer

thank, jgivoni.
I'll use $_GET from now on.
I found out that the change was the new host not having Register Globals enabled default.

Expert:

dustPuppy

Date:

Feb 19, 2007

Time:

08:02

 

Votes: Good (0) | Bad (0)
Login to rate this answer

change your php.ini file

register_long_arrays = On

Or
********************
insert into your .htaccess file

register_long_arrays = On

*****************

and Enjoy with your nice codding

Expert:

pankajsiddhast

Date:

Jun 05, 2007

Time:

22:24

 

Votes: Good (0) | Bad (0)
Login to rate this answer

Question Answered

This question has been answered, and points have been rewarded to the following experts:

jgivoni: 30
dustPuppy: 30

You're welcome however to comment or give additional information or if you wish, you have the ability to write an Answer Summary for this question by clicking on the "Answer Summaries" Tab.

 
No summaries have been submitted yet. Want to be the first?



Respond to this question:

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password

 

New User

  Email:

Upon submission of this form, you will automatically be registered as a Quomon user and we will send your login information to this address

Registered User

Username:

Password:


Forgotten Password

   

"Psst, Quomon is a great site. Pass it on."     Tell a Friend  |   Link To Us  |   Save to Delicious  |   Digg! Digg it


All Questions


Language Options

English:

www.quomon.com

Español:

www.quomon.es

Quomon Blog

blog.quomon.com

Sponsors

Questions and Answers Software
Real Estate Postcards
Marketing Fulfillment