|
comp.lang.php - PHP programming language discussions
|
|
If you were Registered and logged in, you could reply and use other advanced thread options
|
Posted by PulsarSL on December 23, 2005, 6:39 pm
Kimmo Laine wrote:
> <?php
> include('http://www.your.domain/next_page.php?foo=bar ');
Unless next_page.php generates PHP, the script with this include will
only get HTML.
> exit();
next_page.php
<?php
if (isset($_GET['foo'])) {
echo '<?php echo $_GET[\'foo\']; ?>';
} else {
echo '<?php echo \'Not available\'; ?>';
}
--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot
|
|
Posted by vdP on December 24, 2005, 10:15 am
Kimmo Laine wrote:
> <?php
> include('http://www.your.domain/next_page.php?foo=bar ');
Unless next_page.php generates PHP, the script with this include will
only get HTML.
> exit();
next_page.php
<?php
if (isset($_GET['foo'])) {
echo '<?php echo $_GET[\'foo\']; ?>';
} else {
echo '<?php echo \'Not available\'; ?>';
}
--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot
|
|
Posted by PulsarSL on December 24, 2005, 2:21 pm
Kimmo Laine wrote:
> <?php
> include('http://www.your.domain/next_page.php?foo=bar ');
Unless next_page.php generates PHP, the script with this include will
only get HTML.
> exit();
next_page.php
<?php
if (isset($_GET['foo'])) {
echo '<?php echo $_GET[\'foo\']; ?>';
} else {
echo '<?php echo \'Not available\'; ?>';
}
--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot
|
This Thread
If you were Registered and logged in, you could reply and use other advanced thread options
Related Posts
Latest Posts
|
|
> include('http://www.your.domain/next_page.php?foo=bar ');