Home page logo
/

basics logo Security Basics mailing list archives

About malicious java sciprt running...
From: Trystano () aol com
Date: Tue, 9 Dec 2003 13:23:08 EST

Shouldn't the PHP script to retrieve a get variable be?...

<?php

$var = $_GET[ 'test' ];
echo $var;

?>

Its bad practice to use global variables, and also raises security issues.

Tryst

---------------------------------------------------------------------------
----------------------------------------------------------------------------


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]