suPHP and $GLOBALS variable scope

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
User avatar
php-forum Active User
php-forum Active User
Posts: 315
Joined: Sat Mar 23, 2013 8:24 am
Location: Livonia, MI

Thu Jul 24, 2014 1:22 pm

What exactly are you trying to do (accomplish)?

In my opinion using global variables is very bad practice and leads to sloppy code. Anytime you use server side variables you are opening yourself up to being hack, heck even sometimes when you write code properly you sometimes make yourself vulnerable. However, why open the door to the would-be-hacker?

So with that said, try to explain better in what you're trying accomplish.

Post Reply