|
Posted by John on October 26, 2007, 9:55 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 Jerry Stuckle on October 26, 2007, 10:07 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 John on October 26, 2007, 10:50 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 Rik Wasmus on October 26, 2007, 11:05 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 Jerry Stuckle on October 27, 2007, 12:14 am
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 | | image flash scroller | May 13, 2009, 6:19 am |
| PLEASE ADVICE I HAVE THIS PHP CODE ON THE FREEBSD BOX AND IT READS FINE | July 2, 2005, 11:09 am |
| PLEASE ADVICE I HAVE THIS PHP CODE ON THE FREEBSD BOX AND IT READS FINE BUT WHEN I PASS AN DELETE QUERRY IT DOES NOT DO ANY THING ,,,,, | July 2, 2005, 10:39 am |
| FIle uploads: Empty _POST and _FILES arrays when file too large | September 8, 2004, 9:51 pm |
| Email with file attachements - How to upload file to server from browser? | February 9, 2005, 3:52 am |
| Creating link to file or temp file for user download | June 20, 2005, 10:42 am |
| script for grabbing an xml rss feed file into my server as xml file too | December 27, 2004, 10:39 pm |
| displaying file path in file input field | January 12, 2005, 6:01 pm |
| PHP file upload unexpected error - file too large? | February 7, 2005, 1:53 pm |
| how to read out the content of a file named domain.com/file.php?X=ABC | June 7, 2005, 3:15 pm |
|
> include('http://www.your.domain/next_page.php?foo=bar');