How can I send variable from 1 external link to 2 targets of another page? Just see the following picture to understand. I will click "my link" from pageX.php Then it open page1.php with page2.php (inside iframe) Both page1.php & page2.php will get value from pageX.php
Sounds about right. You'll have to put the variable in your link. For example: example.com/script.php?variable=neato.txt Then, you would use WeedGrinch's suggestion and get the variable like so: <?php $variable = $_GET['variable']; echo $variable; //Prints "neato.txt" ?> Code (markup):