On Wed, 12 May 2004 09:42 pm, gowthaman ramasamy wrote:
> I have a problem in passing the value to another PHP script from the
> first one. can any one help me to debug it.
>
> <FORM ACTION="<?php echo $PHP_SELF ?>" METHOD="POST"
> ENCTYPE="text/plain">
> <?php
> if(isset($_POST['submit']))
> {
> does many things
>
> $detail_file='testrun_hetero_srtdout';
> echo "<A
> HREF=\"http:/gowtham/forphp/detailedresults.php?name=$detail_file&firstfile
>=$files\"> clik to see detailed page</A>" }
> second script ... that is detailedresults.php
> <?php
> print $name;
> print "$name";
> ?>
Perhaps "register_globals = Off" ? Here is one debugging hint...
<?php
echo '<!-- '.var_export($_REQUEST,true)).' -->';
// do whatever else
?>
and view the source of the resulting page. Assumes PHP v4.1.0+
--markc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php