Posted by laredotornado@zipmail.com on 09/24/07 19:58
Hi,
I'm using PHP 4.4.4. I have two domains -- www.mydomain1.com and
www.mydomain2.com. Both point to the same IP address. I have two
pages on that IP -- first.php
<?php
session_start();
$_SESSION['test'] = "hello";
?>
and second.php
<?php
session_start();
print $_SESSION['test'];
?>
What I would like is when I first visit http://www.mydomain1.com/first.php
and then visit http://www.mydomain2.com/second.php to have the word
"hello" printed. Does anyone know how to adjust the above scripts or
my environment to make this possible?
Thanks, - Dave
Navigation:
[Reply to this message]
|