954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

HTTP_POST_VARS vs POST

Hello
How do you doin
I wantto know what this difference between $HTTP_POST_VARS['somevariable'] and $_POST['somevariable']
I read the first one is safer than the second one because the second one prevents hackers from hacking through the computer.. what computer is that?? And how is it safer??

Hani1991
Junior Poster
197 posts since May 2011
Reputation Points: 22
Solved Threads: 6
 

HTTP_POST_VARS is deprecated. Best not use it.

Where did you get your information from, do you have a link ?

pritaeas
Posting Expert
Moderator
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

Thank you I dont have a link its from a book I have on my pc

Hani1991
Junior Poster
197 posts since May 2011
Reputation Points: 22
Solved Threads: 6
 

But is $_POST array completely safe???

Hani1991
Junior Poster
197 posts since May 2011
Reputation Points: 22
Solved Threads: 6
 

There are more than one global variable that have been deprecated by the creation of another global variable. e.g. $HTTP_POST_FILES was deprecated by $_FILES
Thank you

Hani1991
Junior Poster
197 posts since May 2011
Reputation Points: 22
Solved Threads: 6
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: