|
Posted by Pjotr Wedersteers on October 11, 2004, 11:54 am
Please log in for more thread options
Kimmo Laine wrote:
show/hide quoted text
> <?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.
show/hide quoted text
> exit();
next_page.php
<?php
if (isset($_GET['foo'])) {
show/hide quoted text
echo '<?php echo $_GET[\'foo\']; ?>';
} else {
show/hide quoted text
echo '<?php echo \'Not available\'; ?>';
}
--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot
|
|
Posted by Brad Kent on October 11, 2004, 9:09 am
Please log in for more thread options
Kimmo Laine wrote:
show/hide quoted text
> <?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.
show/hide quoted text
> exit();
next_page.php
<?php
if (isset($_GET['foo'])) {
show/hide quoted text
echo '<?php echo $_GET[\'foo\']; ?>';
} else {
show/hide quoted text
echo '<?php echo \'Not available\'; ?>';
}
--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot
|
|
Posted by Nikolai Chuvakhin on October 11, 2004, 6:21 pm
Please log in for more thread options Kimmo Laine wrote:
show/hide quoted text
> <?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.
show/hide quoted text
> exit();
next_page.php
<?php
if (isset($_GET['foo'])) {
show/hide quoted text
echo '<?php echo $_GET[\'foo\']; ?>';
} else {
show/hide quoted text
echo '<?php echo \'Not available\'; ?>';
}
--
File not found: (R)esume, (R)etry, (R)erun, (R)eturn, (R)eboot
|
| Similar Threads | Posted | | Skip 'Insertion' Page | October 7, 2006, 11:32 pm |
| Few lines of C++ to PHP | January 4, 2007, 11:26 pm |
New lines to
| October 8, 2007, 4:56 am |
| Changes between some lines | December 25, 2007, 2:09 pm |
| empty lines | August 17, 2004, 10:59 am |
| Drawing lines | April 12, 2005, 6:13 am |
| Matching lines | October 2, 2005, 10:20 pm |
| new lines in form | October 25, 2005, 1:27 pm |
| Draw Lines | February 17, 2006, 10:16 am |
| unexpected $ (about 70 lines) | May 6, 2006, 9:14 am |
|
> include('http://www.your.domain/next_page.php?foo=bar');