|
Posted by news.tpi.pl on August 26, 2006, 1:34 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 Andy Hassall on August 26, 2006, 1:52 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 news.tpi.pl on August 26, 2006, 1:52 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 leen on August 27, 2006, 10:20 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
|
| Similar Threads | Posted | | Echo versus Question Mark Equals | August 6, 2007, 4:05 pm |
| Newbie question: variable setting trough question mark | July 17, 2004, 2:26 pm |
| newbie question: setting a variable from browser using question mark | July 17, 2004, 7:05 pm |
| question mark in serialized object | August 20, 2007, 2:13 pm |
| question mark url encoding causes errors | May 11, 2008, 6:27 pm |
| echo all the time vs echo at the end - what is faster | November 5, 2005, 9:23 am |
| help : apostrophe/single quotation mark | March 6, 2007, 4:32 am |
| web caching tutorial by Mark Nottingham | November 11, 2008, 10:47 am |
| how to mark php document as cachable (expires only when php filechanges) | August 19, 2005, 12:15 am |
| Javascript/PHP byte-order mark problem | March 5, 2008, 3:42 am |
|
> include('http://www.your.domain/next_page.php?foo=bar');