|
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 Wescotte on April 7, 2006, 1:01 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 Jiri Fogl on April 7, 2006, 1:31 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 Wescotte on April 7, 2006, 1:32 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 no-1 on April 7, 2006, 2:18 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 Geoff Berrow on April 7, 2006, 2:28 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 ');