예제 #1
0
<?php

require_once 'self.php';
header('Location: ' . my_path() . 'network_confirm.php?r=rrr');
?>
<html>
    <head><title>Redirection test</title></head>
    <body>This is a test page for the SimpleTest PHP unit tester</body>
</html>
예제 #2
0
<?php

require_once '../self.php';
?>
<html>
    <head>
        <title>Links and base tag</title>
        <base href='<?php 
echo my_path() . '../';
?>
'>
    </head>
    <body>
        <a href='network_confirm.php'>Back to test pages</a>
    </body>
</html>
<?php

require_once 'self.php';
?>
<html>
    <head><title>SimpleTest testing links</title></head>
    <body>
        <p>
            A target for the
            <a href="http://www.lastcraft.com/simple_test.php">SimpleTest</a>
            test suite.
        </p>
        <ul>
            <li><a href="<?php 
print my_path();
?>
network_confirm.php">Absolute</a></li>
            <li><a href="network_confirm.php">Relative</a></li>
            <li><a href="network_confirm.php" id="1">Id</a></li>
            <li><a href="network_confirm.php">m&auml;rc&ecirc;l kiek&#039;eboe</a></li>
        </ul>
    </body>
</html>
예제 #4
0
<?php

require_once 'self.php';
?>
<html>
    <head><title>SimpleTest testing links</title></head>
    <body>
        <p>
            A target for the
            <a href="http://localhost:8080/simple_test.php">SimpleTest</a>
            test suite.
        </p>
        <ul>
            <li><a href="<?php 
echo my_path();
?>
network_confirm.php">Absolute</a></li>
            <li><a href="network_confirm.php">Relative</a></li>
            <li><a href="network_confirm.php" id="1">Id</a></li>
            <li><a href="network_confirm.php">m&auml;rc&ecirc;l kiek&#039;eboe</a></li>
        </ul>
    </body>
</html>