Passing data from one php program to another
Here is what I want to do:
test1.php
<?php session_start(); ?>
<html>
<body>
<?php
$_SESSION['testparm']='Hello';
?>
<a href="http://www.mydomain.com/test2.php">click here</a>;
</body>
-------
test2.php
<body>
<?php echo $_SESSION[['testparm']; ?>
</body>
I show the example with SESSION but Cookies are ok too, if they work. Right now I can't get either to work.
I'm unclear as to whether I should call session_start() in test2.php, but I have tried both ways.
Help please?
thanks,
Roger.
... Instant backlinks that can get you results within 24-72hrs.
I was making money in days with the 4 Day Money Making Blueprint
... Instant backlinks that can get you results within 24-72hrs.
I was making money in days with the 4 Day Money Making Blueprint
... Instant backlinks that can get you results within 24-72hrs.
I was making money in days with the 4 Day Money Making Blueprint
I was making money in days with the 4 Day Money Making Blueprint