suPHP and $GLOBALS variable scope

General discussions related to php

Moderators: macek, egami, gesf

Post Reply
User avatar
Strider64
php-forum Active User
php-forum Active User
Posts: 267
Joined: Sat Mar 23, 2013 8:24 am

Re: suPHP and $GLOBALS variable scope

Post by Strider64 » 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

Who is online

Users browsing this forum: No registered users and 1 guest