|
Posted by Marty Meyers on December 6, 2005, 7:14 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 Etienne Marais on December 7, 2005, 3:51 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
|
|
Posted by Marty Meyers on December 7, 2005, 6:43 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 | | Perl vs PHP? | June 5, 2005, 12:49 am |
| Perl-1.0.0 | July 7, 2006, 6:30 am |
| PHP v PERL | October 21, 2006, 1:22 pm |
| php and perl | June 12, 2007, 7:19 am |
| Why PHP instead of Perl? | June 21, 2007, 9:53 pm |
| perl cgi vs php | January 21, 2008, 4:20 pm |
| php and perl md5 | June 12, 2008, 9:45 pm |
| Is PHP still slower than Perl? | October 2, 2004, 4:56 am |
| perl style in php ? | October 31, 2004, 8:59 am |
| perl-like "slurp" in PHP? | December 22, 2004, 11:46 pm |
|