|
Posted by webcm123 on June 23, 2007, 1:21 pm
Please log in for more thread options
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 webcm123 on June 23, 2007, 4:44 pm
Please log in for more thread options
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 Toby A Inkster on June 24, 2007, 4:14 am
Please log in for more thread options 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
|
| Similar Threads | Posted | | saving sequence order of files | July 12, 2008, 1:44 am |
| including files | August 13, 2005, 2:34 pm |
| including files - paths | April 15, 2005, 8:45 am |
| Including files that have query strings | January 22, 2005, 12:25 am |
| require_once(), seemingly including files more then once. | August 10, 2005, 1:26 pm |
| problem including files under xhtml | June 2, 2008, 6:16 pm |
| PEAR DB: How do I set the value of a sequence? | July 15, 2004, 12:20 pm |
| Pseudo Random Sequence | November 10, 2005, 5:28 pm |
| executing a sequence of mysql statements | May 4, 2005, 2:04 am |
| Removing elements from an array -- key sequence ... | March 19, 2006, 3:56 pm |
|