Einzelnen Beitrag anzeigen
  #10  
Alt 14.04.2004, 10:16:01
Dago Dago ist offline
Member
 
Registriert seit: Mar 2002
Beiträge: 548
PHP-Code:

//Inhalt domainA.php
<?php

readfile
('http://localhost/domainB.php?sag=Hallo&count=10');

?>

//Inhalt domainB.php
<?php

echo $_GET['sag'];
for (
$x 1;$x <= $_GET['count'];++$x)
    echo 
'<br />'.$x;

?>
Ausgabe bei Aufruf von domainA.php:
Code:
Hallo
1
2
3
4
5
6
7
8
9
10
Mit Zitat antworten