View Single Post
Old May 8th, 2006, 10:06 AM   #3
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
yes, that concept will work... I wrote something similar not to long ago.

script1.php
[PHP]
<?php
$area = "INDEX";
include ("script2.php");
?>
[/PHP]

script2.php
[PHP]
<?php
print $area;
?>
[/PHP]

output: INDEX
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote