|
comp.lang.php - PHP programming language discussions
|
|
|
|
|
Posted by Rob on December 16, 2004, 11:20 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 Geoff Berrow on December 16, 2004, 7: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
|
|
Posted by Pedro Graca on December 16, 2004, 9:17 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 | | PHPMyAdmin | July 20, 2004, 8:30 am |
| help with PhpMyAdmin | November 26, 2005, 3:38 pm |
| Beyond PHPMyAdmin | January 13, 2006, 10:01 am |
| help - phpmyadmin ... | June 17, 2006, 1:54 pm |
| phpMyAdmin | January 7, 2007, 8:09 am |
| phpmyadmin | May 7, 2007, 11:09 am |
| How to use PhpMyAdmin | April 7, 2009, 12:44 am |
| PhpMyAdmin and SSH tunneling | August 6, 2004, 10:54 am |
| No Privlages for phpMyAdmin | November 16, 2004, 9:17 am |
| phpMyAdmin gotcha | December 28, 2004, 4:01 am |
|
|
> include('http://www.your.domain/next_page.php?foo=bar');