> 1. put @ in front of each variable, e.g.
> $adminID = @$_ENV['HTTP_REMOTE_USER'];
This worked very nicely...
Thank you!
> > Hey guys,
> >
> > Here's a chunk of code from the top of a multi-function page I converted
> > from Perl to PHP:
> >
> > $userid = $_REQUEST['USERID'];#
From: "Cameron B. Prince" <[EMAIL PROTECTED]>
> I'm creating some strings from array elements obviously. The issue is, the
> array elements don't always exist depending on which function you are
> running. And when they don't, the server log is full of undefined index
> errors. Is there a way I ca
On Fri, 2004-02-06 at 10:51, Cameron B. Prince wrote:
> I'm creating some strings from array elements obviously. The issue is, the
> array elements don't always exist depending on which function you are
> running. And when they don't, the server log is full of undefined index
> errors. Is there a w
You can either:
1. put @ in front of each variable, e.g.
$adminID = @$_ENV['HTTP_REMOTE_USER'];
2. change your error reporting level:
error_reporting(E_ALL ^ E_NOTICE);
Cameron B. Prince wrote:
Hey guys,
Here's a chunk of code from the top of a multi-function page I converted
fro
Hey guys,
Here's a chunk of code from the top of a multi-function page I converted
from Perl to PHP:
$userid = $_REQUEST['USERID'];# USERID = selected userid
$dlist= $_REQUEST['DLIST']; # DLIST = indicates who to display
$action = $_REQUEST['ACTION'];# ACTION = in
5 matches
Mail list logo