|
Posted by G-MAN on July 28, 2004, 3:40 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 Brian on July 28, 2004, 11:27 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 Anders K. Madsen on July 29, 2004, 12:42 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 July 29, 2004, 9:13 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
|
| Similar Threads | Posted | | reload a page after execution of a mysql-query in php | January 20, 2005, 11:07 am |
| session var is setting ONLY AFTER I reload page, form var displays first page load | July 23, 2004, 5:16 pm |
| Using PHP to load another page or html page | March 22, 2006, 1:10 pm |
| Load a new page | March 26, 2008, 7:29 am |
| Page load frequency | December 13, 2006, 7:37 am |
| run code on first page load only | April 6, 2009, 1:58 pm |
| Re: run code on first page load only | April 6, 2009, 5:03 pm |
| Submit vs. a fresh page load | September 21, 2004, 1:57 pm |
| Php page does not load after installing PHPTriad? | September 26, 2004, 12:10 pm |
| $_SERVER['argv'] doesn't have a value on first page load. | October 17, 2004, 2:00 am |
|
> include('http://www.your.domain/next_page.php?foo=bar');