Register  |  Login



Earn money by sharing your knowledge through Quomon's revenue sharing program

Question

Status: Closed Points: 60 Time: 04:30 - Feb 19, 2007  

dustPuppy

$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?

Answer Discussion
Tutorials

 

Q&A System for Websites and Corporate Collaboration

Advertisement

  • Generates significant organic traffic for websites
  • Saves companies money, resources, and time

jgivoni

Date:: Feb 19, 2007

Time:: 07:59

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 ;-)

dustPuppy

Date:: Feb 19, 2007

Time:: 08:02

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.

pankajsiddhast

Date:: Jun 05, 2007

Time:: 22:24

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

Question Answered

This question has been closed, 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 a Tutorial in the Tutorial Area.

Answer 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:

Forgot Your Password?

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

Answer 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:

Forgot Your Password?

Ask a Question

Have a new question? Ask!

You have 100 characters to use



Top PHP Experts

View More

Rank

Expert

Points

1.

nidhi

365

2.

m.j.little

250

3.

xarcus

220

4.

theDude

145

5.

dustPuppy

75

6.

jgivoni

65

7.

mizu

25

8.

redcharcoal

25

9.

PeterNZ

15

10.

Anpanman

10

Become an Expert

Register today to share your knowledge with the community and be recognized and rewarded for your contributions.


Register Here




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



Language Options

English:

www.quomon.com

Español:

www.quomon.es