|
comp.lang.php - PHP programming language discussions
|
|
|
|
|
Posted by Wescotte on April 7, 2006, 1:01 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 Jiri Fogl on April 7, 2006, 1:31 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 Wescotte on April 7, 2006, 1:32 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 no-1 on April 7, 2006, 2:18 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 Geoff Berrow on April 7, 2006, 2:28 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 | | Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' | July 4, 2007, 5:29 pm |
| [FAQ] Parse/Syntax error, unexpected $ or $end | March 27, 2005, 3:46 pm |
| Parse error: parse error, unexpected T_ELSE in /home/duivensites.com/public_html/promotiesite/subpagina/winkel.php on line 25 | December 28, 2004, 4:56 am |
| newbie error : syntax error, unexpected T_INC, expecting ')' | July 16, 2005, 2:36 pm |
| Parse error: parse error, unexpected T_ELSE | December 28, 2004, 4:33 am |
| Parse error: parse error, unexpected T_STRING | March 15, 2005, 10:14 am |
| Parse error: parse error, unexpected $end | November 4, 2005, 8:56 pm |
| Redirect Error Reported As SQL Syntax Error | January 8, 2005, 4:45 pm |
| Can't work out reason behind "unexpected T_VARIABLE" error | March 21, 2006, 11:19 am |
| parse error | January 9, 2005, 3:49 am |
|
|
> include('http://www.your.domain/next_page.php?foo=bar');