|
Posted by Aggelos on February 15, 2007, 5:29 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 Jerry Stuckle on February 15, 2007, 9:17 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 Aggelos on February 16, 2007, 4:11 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 | | rewrite the url | August 24, 2004, 9:04 pm |
| Mod Rewrite | September 18, 2005, 3:15 pm |
| mod rewrite | May 2, 2007, 11:15 pm |
| rewrite asp code to php | October 11, 2004, 11:16 am |
| URL rewrite + htaccess | May 10, 2005, 1:52 pm |
| Mod Rewrite and subdomains | November 20, 2005, 1:56 pm |
| Apache Mod Rewrite | October 2, 2007, 11:03 am |
| rule to rewrite | October 11, 2007, 9:02 am |
| Wanted: PHP developer, xml, mod rewrite | July 22, 2005, 3:51 pm |
| Htaccess question w/ mod rewrite | February 8, 2006, 7:38 pm |
|