Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Security issue

Status
Not open for further replies.

DeepBlerg

Technical User
Jan 13, 2001
224
AU
Hi,
I had trouble using such variables as $PHP_SELF etc on my new host and upon contacting them they said something about using global vars because its safer and just using $PHP_SELF etc posses a significant security risk.

Whats this all about? Does anyone know of any articles about this online?

Thanks.
 
There is this comment from php.ini, right above the line turning register_globals on or off:

You should do your best to write your scripts so that they do not require register_globals to be on. Using form variables as globals can easily lead to possible security problems, if the code is not very well thought of.
______________________________________________________________________
TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top