|
Posted by Josse Barrera on December 30, 2005, 10:36 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 David Gillen on December 30, 2005, 11:29 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 Ewoud Dronkert on December 30, 2005, 1:02 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 Peter Fox on December 30, 2005, 1:20 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 Balazs Wellisch on December 30, 2005, 5:59 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 | | PHP5 and Double Byte (experts wanted) | March 6, 2005, 2:32 am |
| Helle experts, I am newbie | February 21, 2008, 2:02 pm |
| Helle experts, I am newbie | February 21, 2008, 2:02 pm |
| Helle experts, I am newbie | February 21, 2008, 2:02 pm |
| Newbie with more php questions | June 18, 2005, 1:05 am |
| A few newbie questions | July 19, 2005, 8:27 pm |
| newbie questions | November 20, 2006, 3:11 pm |
| New to PHP ... some questions from a newbie | March 11, 2008, 9:59 pm |
| Newbie Security Questions | November 24, 2007, 6:31 am |
| Couple of basic newbie questions | June 22, 2007, 4:43 am |
|
> include('http://www.your.domain/next_page.php?foo=bar');