Page 1 of 1

$GLOBALS

Posted: Tue Jun 22, 2004 2:11 pm
by anjanesh
Posted this before : something wrong with that post.
Keeps giving the error msg : 'Failed sending Mail'

I have this in test.php
PHP:

<?php
$GLOBALS['test']="anj";
echo '<A HREF="page.php">Jobs</A>';
?>

and this in page.php
PHP:

<?php
echo $GLOBALS['test'];
?>

It gives : Notice: Undefined index: test in page.php on line 2
register_globals = On
Still I cannot get to access superglobals
Anyone ? Thanks
PHP version 4.3.7

Posted: Tue Jun 22, 2004 2:18 pm
by ol4pr0
I do not following what u are trying to do.

Posted: Tue Jun 22, 2004 2:43 pm
by wwwapu
See your previous viewtopic.php?t=23003 answered there.