|
Posted by Keith on September 24, 2005, 10:35 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 ZeldorBlat on September 24, 2005, 4:37 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 Inkster on September 25, 2005, 11:59 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 | | Daylight Savings Time, PHP/Mandrake Linux, March 2007. Options? | February 16, 2007, 6:51 am |
| [News] [Linux] Firefox for Linux Could Soon Be Improved at Expense. | May 30, 2007, 5:47 pm |
| Linux Today - 30 Game Scripts You Can Write in PHP (Linux Today) | November 21, 2008, 4:11 am |
| PHP as CGI does NOT under Linux?? | September 1, 2004, 4:36 pm |
| PHP + MS SQL on a linux box | September 30, 2004, 3:23 am |
| PHP, COM, and Linux | October 6, 2004, 11:55 am |
| How do you upgrade php on linux? | July 29, 2004, 10:04 am |
| Linux binaries for PHP 5.0.4? | August 2, 2005, 6:01 pm |
| COM/DCOM on Linux | November 17, 2005, 12:29 pm |
| SSH and Linux/Unix...need help! | December 3, 2005, 5:34 pm |
|